mirror of
https://github.com/luzifer-docker/argo-crypt.git
synced 2024-12-20 14:21:17 +00:00
Fix operator
This commit is contained in:
parent
c7a375500b
commit
b1e0fe76e2
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
$(dirname $0)/git.bin "$@"
|
$(dirname $0)/git.bin "$@"
|
||||||
EC=$?
|
EC=$?
|
||||||
|
|
||||||
if [ "$1" = "checkout" -a -d ".git-crypt" -f ".git-crypt-key" -a ! "$GIT_CRYPT_RUNNING" = "true" ]; then
|
if [ "$1" = "checkout" -a -d ".git-crypt" -a -f ".git-crypt-key" -a ! "$GIT_CRYPT_RUNNING" = "true" ]; then
|
||||||
export GIT_CRYPT_RUNNING=true
|
export GIT_CRYPT_RUNNING=true
|
||||||
export VAULT_TOKEN=$(vault write -field=token auth/approle/login role_id="${VAULT_ROLE_ID:-}")
|
export VAULT_TOKEN=$(vault write -field=token auth/approle/login role_id="${VAULT_ROLE_ID:-}")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue