How to pass entire JSON string to Helm chart value?
How can I pass the entire JSON string to a Helm chart value? I have values.yml where the config value should contain entire JSON with a configuration of an application ... config: some JSON here ... and I need to pass this value to a secret template and then mount it as a volume to a Kubernetes pod. {{- $env := default "integration" .Values.env}} apiVersion: v1 kind: Secret metadata: name: {{ .Release.Name }}-{{ $env }} type: Opaque data: config.json: {{ .Values.config | b64enc | quote }} However the obvious approach of passing single quoted string like '{"redis": "localhost:6379"}' fails