Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yairsimantov20 authored Oct 27, 2024
1 parent c5a8e71 commit 8e5844e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/port-k8s-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ spec:
- name: EVENT_LISTENER_AUTHENTICATION_MECHANISM
value: {{ .Values.eventListener.authenticationMechanism | quote }}
{{- end }}
{{- with .Values.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- if .Values.extraEnv }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end }}
volumeMounts:
- name: config-volume
mountPath: "/config"
{{- if .Values.extraVolumeMounts }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- with .Values.extraVolumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
volumes:
- name: config-volume
Expand Down

0 comments on commit 8e5844e

Please sign in to comment.