From c60ea37cc380fa1c930a98f875b5f351b9a4c0d5 Mon Sep 17 00:00:00 2001 From: "Wahlstedt, Walter (ww229g)" Date: Mon, 29 Aug 2022 16:03:39 -0400 Subject: [PATCH] CoreDNS: uplift to 1.8.6 * Uplift the CoreDNS image to 1.8.6 (aligning to k8s v1.23) [0] * Add support for endpointslices 0: https://github.com/coredns/deployment/blob/master/kubernetes/CoreDNS-k8s_version.md Change-Id: I06f43d6152de2347ba056139429f09222def8d5f --- charts/coredns/Chart.yaml | 3 ++- charts/coredns/templates/rbac.yaml | 7 +++++++ charts/coredns/values.yaml | 2 +- examples/basic/armada-resources.yaml | 2 +- examples/complete/armada-resources.yaml | 2 +- examples/containerd/armada-resources.yaml | 2 +- examples/gate/armada-resources.yaml | 2 +- tests/unit/builder_data/simple/armada-resources.yaml | 2 +- tools/gate/default-config-env | 2 +- tools/registry/IMAGES | 2 +- 10 files changed, 17 insertions(+), 9 deletions(-) diff --git a/charts/coredns/Chart.yaml b/charts/coredns/Chart.yaml index 4aac9ced..454f4564 100644 --- a/charts/coredns/Chart.yaml +++ b/charts/coredns/Chart.yaml @@ -1,4 +1,5 @@ apiVersion: v1 description: A chart for coredns name: coredns -version: 0.1.0 +version: 0.2.0 +appVersion: "1.8.6" diff --git a/charts/coredns/templates/rbac.yaml b/charts/coredns/templates/rbac.yaml index ab75fe4b..6b6d8cd2 100644 --- a/charts/coredns/templates/rbac.yaml +++ b/charts/coredns/templates/rbac.yaml @@ -41,3 +41,10 @@ rules: - get - list - watch +- apiGroups: + - discovery.k8s.io + resources: + - endpointslices + verbs: + - list + - watch diff --git a/charts/coredns/values.yaml b/charts/coredns/values.yaml index c1fae0b9..7764fb61 100644 --- a/charts/coredns/values.yaml +++ b/charts/coredns/values.yaml @@ -28,7 +28,7 @@ conf: images: tags: - coredns: coredns/coredns:1.7.0 + coredns: coredns/coredns:1.8.6 test: quay.io/airshipit/promenade:latest pull_policy: "IfNotPresent" diff --git a/examples/basic/armada-resources.yaml b/examples/basic/armada-resources.yaml index e14f20cd..04d1f42a 100644 --- a/examples/basic/armada-resources.yaml +++ b/examples/basic/armada-resources.yaml @@ -565,7 +565,7 @@ data: - kubernetes.default.svc.cluster.local images: tags: - coredns: coredns/coredns:1.7.0 + coredns: coredns/coredns:1.8.6 test: quay.io/airshipit/promenade:master source: type: local diff --git a/examples/complete/armada-resources.yaml b/examples/complete/armada-resources.yaml index 4644f934..f82ffdf8 100644 --- a/examples/complete/armada-resources.yaml +++ b/examples/complete/armada-resources.yaml @@ -587,7 +587,7 @@ data: images: tags: - coredns: coredns/coredns:1.7.0 + coredns: coredns/coredns:1.8.6 test: quay.io/airshipit/promenade:master source: type: local diff --git a/examples/containerd/armada-resources.yaml b/examples/containerd/armada-resources.yaml index 0c252dfa..fe3c16b6 100644 --- a/examples/containerd/armada-resources.yaml +++ b/examples/containerd/armada-resources.yaml @@ -462,7 +462,7 @@ data: images: tags: - coredns: coredns/coredns:1.7.0 + coredns: coredns/coredns:1.8.6 test: quay.io/airshipit/promenade:master source: type: local diff --git a/examples/gate/armada-resources.yaml b/examples/gate/armada-resources.yaml index 6f319faf..892444fe 100644 --- a/examples/gate/armada-resources.yaml +++ b/examples/gate/armada-resources.yaml @@ -468,7 +468,7 @@ data: images: tags: - coredns: coredns/coredns:1.7.0 + coredns: coredns/coredns:1.8.6 test: quay.io/airshipit/promenade:master source: type: local diff --git a/tests/unit/builder_data/simple/armada-resources.yaml b/tests/unit/builder_data/simple/armada-resources.yaml index d73e3e3f..ab6f60bc 100644 --- a/tests/unit/builder_data/simple/armada-resources.yaml +++ b/tests/unit/builder_data/simple/armada-resources.yaml @@ -476,7 +476,7 @@ data: images: tags: - coredns: coredns/coredns:1.7.0 + coredns: coredns/coredns:1.8.6 test: quay.io/airshipit/promenade:master source: type: local diff --git a/tools/gate/default-config-env b/tools/gate/default-config-env index 66ef908c..576cf889 100644 --- a/tools/gate/default-config-env +++ b/tools/gate/default-config-env @@ -3,7 +3,7 @@ IMAGE_CALICO_CNI=quay.io/calico/cni:v1.11.2 IMAGE_CALICO_CTL=quay.io/calico/ctl:v1.6.3 IMAGE_CALICO_KUBE_CONTROLLERS=quay.io/calico/kube-controllers:v1.0.2 IMAGE_CALICO_NODE=quay.io/calico/node:v2.6.5 -IMAGE_COREDNS=coredns/coredns:1.7.0 +IMAGE_COREDNS=coredns/coredns:1.8.6 IMAGE_DEP_CHECK=quay.io/stackanetes/kubernetes-entrypoint:v0.3.1 IMAGE_ETCD=quay.io/coreos/etcd:v3.5.4 IMAGE_HAPROXY=haproxy:1.8.3 diff --git a/tools/registry/IMAGES b/tools/registry/IMAGES index 2e8009b0..78467143 100644 --- a/tools/registry/IMAGES +++ b/tools/registry/IMAGES @@ -1,5 +1,5 @@ # source_name, tag, cache_name -coredns/coredns,1.7.0,coredns +coredns/coredns,1.8.6,coredns bitnami/kubectl,1.23.7,kubectl k8s.gcr.io/kube-apiserver-amd64,v1.23.7,apiserver k8s.gcr.io/kube-controller-manager-amd64,v1.23.7,controller-manager