From 1a8915e928248815908fd4eace291b9a8e99486f Mon Sep 17 00:00:00 2001 From: agent Date: Fri, 25 Nov 2022 09:55:22 -0700 Subject: [PATCH] Use quote on caBundle values for the webhook deployment --- .../templates/webhook_configs.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/actions-runner-controller/templates/webhook_configs.yaml b/charts/actions-runner-controller/templates/webhook_configs.yaml index 2b984b3c..7a71735d 100644 --- a/charts/actions-runner-controller/templates/webhook_configs.yaml +++ b/charts/actions-runner-controller/templates/webhook_configs.yaml @@ -53,7 +53,7 @@ webhooks: {{- end }} clientConfig: {{- if .Values.admissionWebHooks.caBundle }} - caBundle: {{ .Values.admissionWebHooks.caBundle }} + caBundle: {{ quote .Values.admissionWebHooks.caBundle }} {{- else if not .Values.certManagerEnabled }} caBundle: {{ $ca.Cert | b64enc | quote }} {{- end }} @@ -83,7 +83,7 @@ webhooks: {{- end }} clientConfig: {{- if .Values.admissionWebHooks.caBundle }} - caBundle: {{ .Values.admissionWebHooks.caBundle }} + caBundle: {{ quote .Values.admissionWebHooks.caBundle }} {{- else if not .Values.certManagerEnabled }} caBundle: {{ $ca.Cert | b64enc | quote }} {{- end }} @@ -113,7 +113,7 @@ webhooks: {{- end }} clientConfig: {{- if .Values.admissionWebHooks.caBundle }} - caBundle: {{ .Values.admissionWebHooks.caBundle }} + caBundle: {{ quote .Values.admissionWebHooks.caBundle }} {{- else if not .Values.certManagerEnabled }} caBundle: {{ $ca.Cert | b64enc | quote }} {{- end }} @@ -156,7 +156,7 @@ webhooks: {{- end }} clientConfig: {{- if .Values.admissionWebHooks.caBundle }} - caBundle: {{ .Values.admissionWebHooks.caBundle }} + caBundle: {{ quote .Values.admissionWebHooks.caBundle }} {{- else if not .Values.certManagerEnabled }} caBundle: {{ $ca.Cert | b64enc | quote }} {{- end }} @@ -186,7 +186,7 @@ webhooks: {{- end }} clientConfig: {{- if .Values.admissionWebHooks.caBundle }} - caBundle: {{ .Values.admissionWebHooks.caBundle }} + caBundle: {{ quote .Values.admissionWebHooks.caBundle }} {{- else if not .Values.certManagerEnabled }} caBundle: {{ $ca.Cert | b64enc | quote }} {{- end }} @@ -216,7 +216,7 @@ webhooks: {{- end }} clientConfig: {{- if .Values.admissionWebHooks.caBundle }} - caBundle: {{ .Values.admissionWebHooks.caBundle }} + caBundle: {{ quote .Values.admissionWebHooks.caBundle }} {{- else if not .Values.certManagerEnabled }} caBundle: {{ $ca.Cert | b64enc | quote }} {{- end }}