Skip to content

Commit 8ee3219

Browse files
authored
Merge pull request #1 from MESMD/FACT-1485
FACT-1485 Add annotation-filter
2 parents c096c01 + 63aee6e commit 8ee3219

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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}",

variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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

3035
variable "external_dns_version" {
3136
description = "The AWS External DNS version to use. See https://github.com/kubernetes-sigs/external-dns/releases for available versions"

0 commit comments

Comments
 (0)