Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #153 from KeisukeYamashita/remove-arg
Browse files Browse the repository at this point in the history
Remove arg of external-secrets container when no arg passed
  • Loading branch information
paul-the-alien[bot] authored May 17, 2021
2 parents cfdfc9a + 1e60bed commit 5b120ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/charts/external-secrets/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -49,6 +50,7 @@ spec:
- --{{ $key }}
{{- end }}
{{- end }}
{{- end }}
ports:
- containerPort: {{ .Values.prometheus.service.port }}
protocol: TCP
Expand Down

0 comments on commit 5b120ed

Please sign in to comment.