Use temp directory for secret sync cache

This commit is contained in:
Tim Schumacher
2025-05-07 14:15:25 +02:00
committed by Tim Schumacher
parent 7365be3e7b
commit 87f0e8ad7f
2 changed files with 8 additions and 5 deletions

View File

@ -2,7 +2,7 @@
[ "$1" = "get" ] || exit
source /var/cache/bridgehead/secrets/gitlab_token
source "/tmp/secret-sync.boot-$(cat /proc/sys/kernel/random/boot_id)/gitlab-token"
# Any non-empty username works, only the token matters
cat << EOF