diff --git a/staging/dex-k8s-authenticator/templates/configmap.yaml b/staging/dex-k8s-authenticator/templates/configmap.yaml index 9a17ad1064..746d2b2e1d 100644 --- a/staging/dex-k8s-authenticator/templates/configmap.yaml +++ b/staging/dex-k8s-authenticator/templates/configmap.yaml @@ -30,4 +30,12 @@ data: clusters: {{ toYaml .clusters | indent 4 }} {{- end }} + {{- if .Values.caCerts.enabled }} + caCerts: "true" + {{- if .Values.caCerts.secrets }} + caCertPath: /certs/{{ .filename }} + {{- else }} + caCertPath: /certs/ca.crt + {{- end }} + {{- end }}