Skip to content

Instantly share code, notes, and snippets.

@cbuckowitz
Last active July 6, 2021 15:46
Show Gist options
  • Save cbuckowitz/8a8682b1d44b38d8f2b0220a053671d6 to your computer and use it in GitHub Desktop.
Save cbuckowitz/8a8682b1d44b38d8f2b0220a053671d6 to your computer and use it in GitHub Desktop.
templating #helm #chart values

Use the helm --show-only parameter to generate the helm chart values.yaml from a helm template.

templates/values.yaml

secrets:
  password: {{ randAlphaNum 10 | b64enc | quote }}
helm template. --show-only templates/values.yaml > values.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment