mirror of
https://github.com/actions/actions-runner-controller.git
synced 2026-01-03 07:57:32 +08:00
Use quote on caBundle values for the webhook deployment
This commit is contained in:
@@ -53,7 +53,7 @@ webhooks:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
clientConfig:
|
clientConfig:
|
||||||
{{- if .Values.admissionWebHooks.caBundle }}
|
{{- if .Values.admissionWebHooks.caBundle }}
|
||||||
caBundle: {{ .Values.admissionWebHooks.caBundle }}
|
caBundle: {{ quote .Values.admissionWebHooks.caBundle }}
|
||||||
{{- else if not .Values.certManagerEnabled }}
|
{{- else if not .Values.certManagerEnabled }}
|
||||||
caBundle: {{ $ca.Cert | b64enc | quote }}
|
caBundle: {{ $ca.Cert | b64enc | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -83,7 +83,7 @@ webhooks:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
clientConfig:
|
clientConfig:
|
||||||
{{- if .Values.admissionWebHooks.caBundle }}
|
{{- if .Values.admissionWebHooks.caBundle }}
|
||||||
caBundle: {{ .Values.admissionWebHooks.caBundle }}
|
caBundle: {{ quote .Values.admissionWebHooks.caBundle }}
|
||||||
{{- else if not .Values.certManagerEnabled }}
|
{{- else if not .Values.certManagerEnabled }}
|
||||||
caBundle: {{ $ca.Cert | b64enc | quote }}
|
caBundle: {{ $ca.Cert | b64enc | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -113,7 +113,7 @@ webhooks:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
clientConfig:
|
clientConfig:
|
||||||
{{- if .Values.admissionWebHooks.caBundle }}
|
{{- if .Values.admissionWebHooks.caBundle }}
|
||||||
caBundle: {{ .Values.admissionWebHooks.caBundle }}
|
caBundle: {{ quote .Values.admissionWebHooks.caBundle }}
|
||||||
{{- else if not .Values.certManagerEnabled }}
|
{{- else if not .Values.certManagerEnabled }}
|
||||||
caBundle: {{ $ca.Cert | b64enc | quote }}
|
caBundle: {{ $ca.Cert | b64enc | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -156,7 +156,7 @@ webhooks:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
clientConfig:
|
clientConfig:
|
||||||
{{- if .Values.admissionWebHooks.caBundle }}
|
{{- if .Values.admissionWebHooks.caBundle }}
|
||||||
caBundle: {{ .Values.admissionWebHooks.caBundle }}
|
caBundle: {{ quote .Values.admissionWebHooks.caBundle }}
|
||||||
{{- else if not .Values.certManagerEnabled }}
|
{{- else if not .Values.certManagerEnabled }}
|
||||||
caBundle: {{ $ca.Cert | b64enc | quote }}
|
caBundle: {{ $ca.Cert | b64enc | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -186,7 +186,7 @@ webhooks:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
clientConfig:
|
clientConfig:
|
||||||
{{- if .Values.admissionWebHooks.caBundle }}
|
{{- if .Values.admissionWebHooks.caBundle }}
|
||||||
caBundle: {{ .Values.admissionWebHooks.caBundle }}
|
caBundle: {{ quote .Values.admissionWebHooks.caBundle }}
|
||||||
{{- else if not .Values.certManagerEnabled }}
|
{{- else if not .Values.certManagerEnabled }}
|
||||||
caBundle: {{ $ca.Cert | b64enc | quote }}
|
caBundle: {{ $ca.Cert | b64enc | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -216,7 +216,7 @@ webhooks:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
clientConfig:
|
clientConfig:
|
||||||
{{- if .Values.admissionWebHooks.caBundle }}
|
{{- if .Values.admissionWebHooks.caBundle }}
|
||||||
caBundle: {{ .Values.admissionWebHooks.caBundle }}
|
caBundle: {{ quote .Values.admissionWebHooks.caBundle }}
|
||||||
{{- else if not .Values.certManagerEnabled }}
|
{{- else if not .Values.certManagerEnabled }}
|
||||||
caBundle: {{ $ca.Cert | b64enc | quote }}
|
caBundle: {{ $ca.Cert | b64enc | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user