Skip to content

Commit

Permalink
Fix duplicate args in Helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
xrstf authored and sstarcher committed Aug 26, 2020
1 parent 61daf2c commit c0f8ed8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,15 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
{{- if .Values.config }}
args:
- --config=/config/config.yaml
command:
- helm-exporter
{{- end }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
args:
{{- if .Values.config }}
- "-config"
- "/config/config.yaml"
{{- end }}
{{- if .Values.namespaces }}
- "-namespaces"
- {{ .Values.namespaces | quote }}
Expand Down

0 comments on commit c0f8ed8

Please sign in to comment.