Skip to content

Commit

Permalink
fix(vault-snapshot.sh): kubernetes.io is the path
Browse files Browse the repository at this point in the history
Signed-off-by: Toni Tauro <[email protected]>
  • Loading branch information
eyenx committed Jun 21, 2023
1 parent 3b55f17 commit 64c315d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/vault-snapshot.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env sh

# authenticate using kubernetes auth
JWT=$(cat /var/run/secrets/kubernetes/io/serviceaccount/token)
JWT=$(cat /var/run/secrets/kubernetes.io/serviceaccount/token)
export JWT
VAULT_TOKEN=$(vault write -field=token auth/kubernetes/login role="${VAULT_ROLE}" jwt="${JWT}")
export VAULT_TOKEN
Expand Down

0 comments on commit 64c315d

Please sign in to comment.