Skip to content

Commit

Permalink
Added annotation filter (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahtr authored Aug 21, 2023
1 parent a4b2d6d commit 6063ea9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/external-dns/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: external-dns
description: ExternalDNS synchronizes exposed Kubernetes Services and Ingresses with DNS providers.
type: application
version: 1.13.0-20230809-1331-adobe
version: 1.13.0-20230821-1051-adobe
appVersion: 0.13.5-20230727-1700-adobe
keywords:
- kubernetes
Expand Down
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 6063ea9

Please sign in to comment.