Skip to content

Commit

Permalink
Use tpl function
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke committed Nov 9, 2022
1 parent d2dd32a commit 679740a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/external-dns/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ spec:
{{- range .Values.domainFilters }}
- --domain-filter={{ . }}
{{- end }}
- --provider={{ .Values.provider }}
- --provider={{ tpl .Values.provider $ }}
{{- range .Values.extraArgs }}
- {{ . }}
- {{ tpl . $ }}
{{- end }}
ports:
- name: http
Expand All @@ -101,15 +101,15 @@ spec:
{{- toYaml .Values.readinessProbe | nindent 12 }}
{{- with .Values.extraVolumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- tpl (toYaml .) $ | nindent 12 }}
{{- end }}
{{- with .Values.resources }}
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.extraVolumes }}
volumes:
{{- toYaml . | nindent 8 }}
{{- tpl (toYaml .) $ | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
Expand Down

0 comments on commit 679740a

Please sign in to comment.