Skip to content

Commit

Permalink
Added annotation filter
Browse files Browse the repository at this point in the history
  • Loading branch information
rahtr committed Aug 18, 2023
1 parent a4b2d6d commit e02d200
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/external-dns/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ spec:
{{- if .Values.txtPrefix }}
- --txt-prefix={{ .Values.txtPrefix }}
{{- end }}
{{- if .Values.annotationFilter }}
- --annotationFilter={{ .Values.annotationFilter }}
{{- end }}
{{- if and (eq .Values.txtPrefix "") (ne .Values.txtSuffix "") }}
- --txt-suffix={{ .Values.txtSuffix }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions charts/external-dns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ sources:

policy: upsert-only

# Filters out resources based on annotations
annotationFilter: ""

# Specifies the registry for storing ownership and labels.
# Valid values are "aws-sd", "noop", "dynamodb", and "txt".
registry: txt
Expand Down

0 comments on commit e02d200

Please sign in to comment.