File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
1
locals {
2
2
nodelocaldns_values = {
3
- tag = var.nodelocaldns_image_tag
4
- local_dns_ip = var.nodelocaldns_localdns_ip
5
- affinity = jsonencode (var. nodelocaldns_affinity )
3
+ image_repository = var.nodelocaldns_image_repository
4
+ tag = var.nodelocaldns_image_tag
5
+ local_dns_ip = var.nodelocaldns_localdns_ip
6
+ affinity = jsonencode (var. nodelocaldns_affinity )
6
7
}
7
8
}
8
9
Original file line number Diff line number Diff line change 1
1
image :
2
+ repository : ${image_repository}
2
3
tag : ${tag}
3
4
config :
4
5
localDnsIp : ${local_dns_ip}
Original file line number Diff line number Diff line change @@ -1616,6 +1616,12 @@ variable "nodelocaldns_namespace" {
1616
1616
default = " kube-system"
1617
1617
}
1618
1618
1619
+ variable "nodelocaldns_image_repository" {
1620
+ description = " Node Local DNS Cache image repository"
1621
+ type = string
1622
+ default = " k8s.gcr.io/dns/k8s-dns-node-cache"
1623
+ }
1624
+
1619
1625
variable "nodelocaldns_image_tag" {
1620
1626
description = " Node Local DNS Cache image tag, Refer https://github.com/kubernetes/dns/releases to get tag "
1621
1627
type = string
You can’t perform that action at this time.
0 commit comments