From 57d0da5d597c26824a40b9e676521181d573d8ee Mon Sep 17 00:00:00 2001 From: Yury Tsarev Date: Thu, 20 Apr 2023 12:52:01 +0100 Subject: [PATCH] Consume coredns crd plugin with WRR functionality (#1141) * Consume coredns crd plugin with WRR functionality Signed-off-by: Yury Tsarev * Amend Corefile to include WRR Signed-off-by: Yury Tsarev --------- Signed-off-by: Yury Tsarev --- chart/k8gb/templates/coredns-cm.yaml | 3 +-- chart/k8gb/values.yaml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/chart/k8gb/templates/coredns-cm.yaml b/chart/k8gb/templates/coredns-cm.yaml index aa9b297c2f..2f0b73590c 100644 --- a/chart/k8gb/templates/coredns-cm.yaml +++ b/chart/k8gb/templates/coredns-cm.yaml @@ -11,13 +11,12 @@ data: errors health ready - loadbalance round_robin prometheus 0.0.0.0:9153 forward . /etc/resolv.conf k8s_crd { - resources DNSEndpoint filter k8gb.absa.oss/dnstype=local negttl {{ .Values.k8gb.dnsZoneNegTTL }} + loadbalance weight } } {{- end }} diff --git a/chart/k8gb/values.yaml b/chart/k8gb/values.yaml index 0842fa630c..42eaf866b5 100644 --- a/chart/k8gb/values.yaml +++ b/chart/k8gb/values.yaml @@ -71,7 +71,7 @@ coredns: # -- CoreDNS CRD plugin image repository: absaoss/k8s_crd # -- image tag - tag: v0.0.8 + tag: v0.0.10 # -- Creates serviceAccount for coredns serviceAccount: create: true