Skip to content

Is it Possible to Encrypt All/Part of a values.yaml that you are feeding to a Helm Chart? #3136

Answered by stefanprodan
jseiser asked this question in Q&A
Discussion options

You must be logged in to vote

You can use HelmRelease.spec.valuesFrom and point helm-controller to a Kubernetes Secret that holds the secret values.yaml. Then in Git, you'll encrypt the secret with SOPS. When kustomize-controller applies the HelmRelease and the Secret manifests, it will first decrypt the secret, then helm-controller will use it for setting the values.

Docs:

Replies: 6 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by jseiser
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@stefanprodan
Comment options

Comment options

You must be logged in to vote
2 replies
@stefanprodan
Comment options

@jseiser
Comment options

Comment options

You must be logged in to vote
5 replies
@stefanprodan
Comment options

@jseiser
Comment options

@jseiser
Comment options

@stefanprodan
Comment options

@kingdonb
Comment options

Comment options

You must be logged in to vote
1 reply
@makkes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants