We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bfd2f0 commit 3f99fceCopy full SHA for 3f99fce
helm/charts/nats/files/nats-box/contexts-secret/context.yaml
@@ -39,11 +39,13 @@ key: {{ printf "%s/%s" $dir (.key | default "tls.key") | quote }}
39
{{- end }}
40
41
# tlsCA
42
+{{- if $.Values.config.nats.tls.enabled }}
43
{{- with $.Values.tlsCA }}
44
{{- if and .enabled (or .configMapName .secretName) }}
45
{{- $dir := trimSuffix "/" .dir }}
46
ca: {{ printf "%s/%s" $dir (.key | default "ca.crt") | quote }}
47
48
49
+{{- end }}
50
51
0 commit comments