Helm
Medium
Concepts
What is the recommended way to store sensitive data for templates instead of hard-coding in values?
Select your answer:
Show answer and explanation
Answer: Use Kubernetes Secrets or external secret managers
Explanation
Values files usually end up in Git, so they shouldn't hold passwords or keys. Have the chart reference an existing Kubernetes Secret, or manage the secret with a tool such as External Secrets Operator, SOPS or Sealed Secrets.
More medium Helm questions
- Which flag to 'helm install' creates the namespace if it doesn't already exist?
- What is the purpose of 'helm repo index'?
- Which command will push a chart to an OCI registry?
- What command checks for available plugin commands and manages Helm plugins?
- What is the effect of the --atomic flag when used with helm install or upgrade?
- Which template function returns the YAML representation of an object?