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