Closed walton-io closed 3 years ago
if --request-token is set vault-sidekick will attempt to request an auth token from vault using
A kubernetes serviceAccountPath "/var/run/secrets/kubernetes.io/serviceaccount/token"
"/var/run/secrets/kubernetes.io/serviceaccount/token"
and the following env vars - example values below
vaultAuthPath = getEnv("VAULT_AUTH_PATH", "auth/kubernetes") vaultAddress = getEnv("VAULT_ADDR", "http://vault.svc.cluster.local") vaultRole = getEnv("VAULT_ROLE", "default")
Will write out two files to
vaultTokenFilePath = "/var/run/secrets/vaultproject.io/.vault-token" vaultAuthFilePath = "/var/run/secrets/vaultproject.io/.vault-auth"
if --request-token is set vault-sidekick will attempt to request an auth token from vault using
A kubernetes serviceAccountPath
"/var/run/secrets/kubernetes.io/serviceaccount/token"
and the following env vars - example values below
Will write out two files to