Keep secrets when decryption is impossible
This commit is contained in:
parent
26c8ed0c05
commit
ab62941eb3
@ -65,8 +65,13 @@ let
|
|||||||
else
|
else
|
||||||
echo "Failed to decrypt the secret"
|
echo "Failed to decrypt the secret"
|
||||||
rm '${decrypted}.tmp'
|
rm '${decrypted}.tmp'
|
||||||
|
if [[ -f '${decrypted}' ]]; then
|
||||||
|
echo "The decrypted file exists anyways, not failing"
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
Loading…
Reference in New Issue
Block a user