fix(helm): vault init script
Skip if vault already initailized Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
f0d730f12c
commit
043f43a05f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue