Skip to content
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

helm charts not having secretKeyRef usage #46

Open
mrwormhole opened this issue May 20, 2023 · 2 comments
Open

helm charts not having secretKeyRef usage #46

mrwormhole opened this issue May 20, 2023 · 2 comments

Comments

@mrwormhole
Copy link

mrwormhole commented May 20, 2023

ideally, helm charts that have sensitive information uses secretKeyRef to decode base64 k8s secret and takes the name of the secret, this improves the usage of helm charts in public gitops based repos which use helm charts.

Can this be added to helm charts?

The best example of it is given here which allows both plain information or secret key reference
https://github.com/minio/minio/blob/master/helm/minio/values.yaml#L344-L348

@joshuaganger
Copy link

joshuaganger commented May 24, 2023

I'm looking at this same issue for both kubewatch and kubernetes-event-exporter resmoio/kubernetes-event-exporter#48 . In both cases the API token (or user/pass etc) is intended to be stored in a ConfigMap.

One strategy I've come across is to store the secrets in CI/CD and pass it in during deployment with envsubst but that's not ideal either.

@aantn
Copy link
Collaborator

aantn commented May 27, 2023

Hey, we don’t support this yet. Would you be interested in opening a PR for it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants