fix: featureGates add webhook deployment in chart yaml

Signed-off-by: lvyanru <1113706590@qq.com>
This commit is contained in:
lv 2022-11-17 22:11:57 +08:00 committed by lvyanru
parent 7df63ae94b
commit bf2db73f71
2 changed files with 4 additions and 1 deletions

View File

@ -71,6 +71,9 @@ spec:
{{ if not $config.securePort -}}
- --secure-port={{ .Values.webhook.securePort }}
{{- end }}
{{- if .Values.featureGates }}
- --feature-gates={{ .Values.featureGates }}
{{- end }}
{{- $tlsConfig := default $config.tlsConfig "" }}
{{ if or (not $config.tlsConfig) (and (not $tlsConfig.dynamic) (not $tlsConfig.filesystem) ) -}}
- --dynamic-serving-ca-secret-namespace=$(POD_NAMESPACE)

View File

@ -61,7 +61,7 @@ strategy: {}
# maxUnavailable: 1
# Comma separated list of feature gates that should be enabled on the
# controller pod.
# controller pod & webhook pod.
featureGates: ""
image: