-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SOPS: Decrypt Kubernetes secrets generated by kustomize #329
SOPS: Decrypt Kubernetes secrets generated by kustomize #329
Conversation
e9b5e08
to
8127709
Compare
1706144
to
a7e7613
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bob-rohan can you please add a sub-section here https://github.com/fluxcd/kustomize-controller/blob/main/docs/spec/v1beta1/kustomization.md#secrets-decryption and document the new decryption option. Please mention kustomize secret generator and how to use it.
193e063
to
adb196d
Compare
@bob-rohan can you please squash all commits into a single one and rename it to "Decrypt base64 encoded SOPS encrypted secrets". Thanks! |
adb196d
to
9ffafd6
Compare
Signed-off-by: Bob Rohan <bob.rohan@hodge.co.uk>
9ffafd6
to
a77ea03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @bob-rohan 🏅
Thank you @bob-rohan, this is fantastic work! |
Kustomize-controller can currently decrypt SOPS encrypted files - but
whole files only.
Kubernetes Secrets are base64 encoded, therefore when a SOPS encrypted
file, is added as base64 encoded data to a Kubernetes Secret, it is not
decrypted.
Fix: #328