Skip to content

Initial compile fails when GOOGLE_APPLICATION_CREDENTIALS is not set #714

Answered by ademariag
owlzq1 asked this question in Q&A
Discussion options

You must be logged in to vote

The behaviour is intended.

The reason why kapitan needs access to your google credentials (GOOGLE_APPLICATION_CREDENTIALS) is because the secret you are trying to create uses a gkms (Google Cloud Key Management Service) as backend.

The ?{gkms:kubeconfigs/c01.eks01.aws01||randomstr:32|base64} effectively means:

if the reference kubeconfigs/c01.eks01.aws01 does not exist, generate a random string of 32 characters, encode it in base64 and then encrypt it with google KMS

Full discussion here: https://kubernetes.slack.com/archives/C981W2HD3/p1616001522022400

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ademariag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants