File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ resource "kubernetes_deployment" "this" {
226226 " --source=istio-gateway" ,
227227 " --source=istio-virtualservice" ,
228228 " --domain-filter=${ var . domain } " ,
229+ " --annotation-filter=${ var . annotation_filter } " ,
229230 " --provider=aws" ,
230231 " --policy=${ var . sync_policy } " ,
231232 " --aws-zone-type=${ var . aws_zone_type } " ,
Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ variable "hosted_zone_id" {
2626 type = string
2727}
2828
29+ variable "annotation_filter" {
30+ description = " A label name which determines which resources are targeted by this instance of external-dns, defaults to all sources"
31+ type = string
32+ default = " all sources"
33+ }
2934
3035variable "external_dns_version" {
3136 description = " The AWS External DNS version to use. See https://github.com/kubernetes-sigs/external-dns/releases for available versions"
You can’t perform that action at this time.
0 commit comments