|
|
@@ -43,7 +43,7 @@ spec:
|
|
|
{{- end }}
|
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
|
- {{- if or (.Values.leaderElect) (.Values.scopedNamespace) (.Values.extraArgs) }}
|
|
|
+ {{- if or (.Values.leaderElect) (.Values.scopedNamespace) (.Values.concurrent) (.Values.extraArgs) }}
|
|
|
args:
|
|
|
{{- if .Values.leaderElect }}
|
|
|
- --enable-leader-election=true
|
|
|
@@ -51,6 +51,9 @@ spec:
|
|
|
{{- if .Values.scopedNamespace }}
|
|
|
- --namespace={{ .Values.scopedNamespace }}
|
|
|
{{- end }}
|
|
|
+ {{- if .Values.concurrent }}
|
|
|
+ - --concurrent={{ .Values.concurrent }}
|
|
|
+ {{- end }}
|
|
|
{{- range $key, $value := .Values.extraArgs }}
|
|
|
{{- if $value }}
|
|
|
- --{{ $key }}={{ $value }}
|