Skip to content

Commit

Permalink
Update charts/external-dns/templates/deployment.yaml
Browse files Browse the repository at this point in the history
Co-authored-by: Adrian <[email protected]>
  • Loading branch information
rahtr and azun committed Aug 8, 2023
1 parent 15d816f commit 0197749
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions charts/external-dns/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,14 @@ spec:
{{- if .Values.awsPreferCname }}
- --aws-prefer-cname
{{- end }}
{{- if .Values.namespaced }}
{{- range .Values.watchNamespaces }}
- --namespace={{ . }}
{{- end }}
{{ else }}
{{- if or .Values.namespaced .Values.watchNamespaces }}
{{- if .Values.watchNamespaces }}
- --namespace={{ .Values.watchNamespaces | join "," }}
{{- else }}
- --namespace={{ .Release.Namespace }}
{{- end }}
{{- end }}
{{- end }}
{{- range .Values.sources }}
- --source={{ . }}
{{- end }}
Expand Down

0 comments on commit 0197749

Please sign in to comment.