1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

fix: remove arg of deployment when no arg specified

Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com>
This commit is contained in:
KeisukeYamashita 2021-05-17 01:11:43 +09:00
parent ab51970242
commit 1e60bedb6f
No known key found for this signature in database
GPG key ID: 15A08EEB40AA38BA

View file

@ -38,6 +38,7 @@ spec:
{{- end }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if or (.Values.leaderElect) (.Values.extraArgs) }}
args:
{{- if .Values.leaderElect }}
- --enable-leader-election=true
@ -49,6 +50,7 @@ spec:
- --{{ $key }}
{{- end }}
{{- end }}
{{- end }}
ports:
- containerPort: {{ .Values.prometheus.service.port }}
protocol: TCP