Skip to content

Commit

Permalink
pass in CA cert configmap name as env var and quote things (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya authored Sep 11, 2024
1 parent f91e3c4 commit 9bd6db2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/kotsadm-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ spec:
{{- if .Values.privateCAs.enabled }}
- name: SSL_CERT_DIR
value: /certs
- name: SSL_CERT_CONFIGMAP
value: "{{ .Values.privateCAs.configmapName }}"
{{- end }}
image: {{ .Values.images.kotsadm }}
imagePullPolicy: IfNotPresent
Expand Down Expand Up @@ -214,7 +216,7 @@ spec:
name: tmp
{{- if .Values.privateCAs.enabled }}
- configmap:
name: {{- .Values.privateCAs.configmapName }}
name: "{{ .Values.privateCAs.configmapName }}"
optional: true
name: kotsadm-private-cas
{{- end }}

0 comments on commit 9bd6db2

Please sign in to comment.