fix(helm): vault init script

Skip if vault already initailized

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2022-11-04 11:58:26 +01:00
parent f0d730f12c
commit 043f43a05f

View file

@ -18,7 +18,7 @@ vault_output=$(vault operator init) 2> /tmp/err.txt || {
echo "Vault already initialized."
err_code=0
}
echo exit $err_code
exit $err_code
}
# Writting output to a file