Skip to content

Instantly share code, notes, and snippets.

@wmene
Created September 22, 2021 18:46
Show Gist options
  • Save wmene/bd9b30ba0d427bbbabc8206c86359b3a to your computer and use it in GitHub Desktop.
Save wmene/bd9b30ba0d427bbbabc8206c86359b3a to your computer and use it in GitHub Desktop.
time="2021-09-22T18:36:36Z" level=error msg="failed to request new Vault token" app=vault-secrets-webhook err="Error making API request.\n\nURL: PUT https://myvault.external/v1/auth/kube-auth-path/login\nCode: 400. Errors:\n\n* missing client token"
time="2021-09-22T18:36:38Z" level=error msg="failed to request new Vault token" app=vault-secrets-webhook err="Error making API request.\n\nURL: PUT https://myvault.external/v1/auth/kube-auth-path/login\nCode: 400. Errors:\n\n* missing client token"
... <# 45 seconds worth of retries #> ...
time="2021-09-22T18:36:40Z" level=error msg="Admission review request failed" app=vault-secrets-webhook dry-run=false error="failed to create vault client: timeout [45s] during waiting for Vault token" kind=v1/Secret name=vsecret ns=default op=create path=/secrets request-id=54c75d62-e1d9-403b-87b4-3c5602168df7 webhook-id=vault-secrets-secret webhook-kind=mutating wh-version=v1beta1
time="2021-09-22T18:36:40Z" level=error msg="failed to request new Vault token" app=vault-secrets-webhook err="Error making API request.\n\nURL: PUT https://myvault.external/v1/auth/kube-auth-path/login\nCode: 400. Errors:\n\n* missing client token"
time="2021-09-22T18:36:41Z" level=info msg="Vault token renewal closed" app=vault-secrets-webhook
@wmene
Copy link
Author

wmene commented Nov 7, 2023

@TimRazumov It was partially resolved with this PR. However, I'm still unable to mutate secrets in kubernetes namespaces other than default

@TimRazumov
Copy link

ok, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment