Skip to content

Commit 23a8665

Browse files
committed
charts/cannon: fix syntax for manually setting tls certificate
1 parent e0b1143 commit 23a8665

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix a bug in charts/cannon. It's now possible to use a custom TLS certificate when enabling cannon's nginz sidecar container. (Previously only letsencrypt certificates worked, and were tested)

charts/cannon/templates/nginz-certificate-secret.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ metadata:
1010
heritage: "{{ .Release.Service }}"
1111
type: kubernetes.io/tls
1212
data:
13-
tls.crt: {{ .Values.secrets.nginz.tls.crt }}
14-
tls.key: {{ .Values.secrets.nginz.tls.key }}
13+
tls.crt: {{ .Values.secrets.nginz.tls.crt | b64enc | quote }}
14+
tls.key: {{ .Values.secrets.nginz.tls.key | b64enc | quote }}
1515
{{- end }}

0 commit comments

Comments
 (0)