ci: update Vault secret path for kanidm token
Some checks failed
Deploy to K8s / deploy (push) Failing after 11s
Some checks failed
Deploy to K8s / deploy (push) Failing after 11s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,7 @@ jobs:
|
|||||||
# Read the kanidm API token
|
# Read the kanidm API token
|
||||||
SECRET_RESPONSE=$(curl -f \
|
SECRET_RESPONSE=$(curl -f \
|
||||||
-H "X-Vault-Token: ${VAULT_TOKEN}" \
|
-H "X-Vault-Token: ${VAULT_TOKEN}" \
|
||||||
https://vault.hrajfrisbee.cz/v1/secret/data/k8s_home/gitea/gitea-ci-token)
|
https://vault.hrajfrisbee.cz/v1/secret/data/gitea/gitea-ci)
|
||||||
|
|
||||||
echo "Secret response: $SECRET_RESPONSE" >&2
|
echo "Secret response: $SECRET_RESPONSE" >&2
|
||||||
API_TOKEN=$(echo "$SECRET_RESPONSE" | jq -r '.data.data.token')
|
API_TOKEN=$(echo "$SECRET_RESPONSE" | jq -r '.data.data.token')
|
||||||
|
|||||||
Reference in New Issue
Block a user