feat(helm): allow configuration of cainjector feature gates

Signed-off-by: Erik Godding Boye <egboye@gmail.com>
This commit is contained in:
Erik Godding Boye 2023-10-31 10:50:36 +01:00
parent a8813c5f43
commit af3e88c6da
No known key found for this signature in database
2 changed files with 7 additions and 0 deletions

View File

@ -73,6 +73,9 @@ spec:
- --leader-election-retry-period={{ .retryPeriod }}
{{- end }}
{{- end }}
{{- with .Values.cainjector.featureGates}}
- --feature-gates={{ . }}
{{- end}}
{{- with .Values.cainjector.extraArgs }}
{{- toYaml . | nindent 10 }}
{{- end }}

View File

@ -564,6 +564,10 @@ cainjector:
# Enable profiling for cainjector
# - --enable-profiling=true
# Comma separated list of feature gates that should be enabled on the
# cainjector pod.
featureGates: ""
resources: {}
# requests:
# cpu: 10m