From 4deeaba3355f5be6d5d0047bd391b081745bbd6e Mon Sep 17 00:00:00 2001 From: Mohamed Omar Zaian Date: Mon, 24 Apr 2023 11:47:01 +0200 Subject: [PATCH] [feature] Update dns-autoscaler (#9996) --- roles/download/defaults/main.yml | 2 +- roles/kubernetes-apps/ansible/templates/dns-autoscaler.yml.j2 | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/download/defaults/main.yml b/roles/download/defaults/main.yml index 4085b0421..0139a3ab9 100644 --- a/roles/download/defaults/main.yml +++ b/roles/download/defaults/main.yml @@ -1072,7 +1072,7 @@ nodelocaldns_version: "1.22.18" nodelocaldns_image_repo: "{{ kube_image_repo }}/dns/k8s-dns-node-cache" nodelocaldns_image_tag: "{{ nodelocaldns_version }}" -dnsautoscaler_version: 1.8.5 +dnsautoscaler_version: v1.8.8 dnsautoscaler_image_repo: "{{ kube_image_repo }}/cpa/cluster-proportional-autoscaler" dnsautoscaler_image_tag: "{{ dnsautoscaler_version }}" diff --git a/roles/kubernetes-apps/ansible/templates/dns-autoscaler.yml.j2 b/roles/kubernetes-apps/ansible/templates/dns-autoscaler.yml.j2 index 6ea165183..9704155bb 100644 --- a/roles/kubernetes-apps/ansible/templates/dns-autoscaler.yml.j2 +++ b/roles/kubernetes-apps/ansible/templates/dns-autoscaler.yml.j2 @@ -30,12 +30,13 @@ spec: labels: k8s-app: dns-autoscaler{{ coredns_ordinal_suffix }} annotations: - seccomp.security.alpha.kubernetes.io/pod: 'runtime/default' spec: nodeSelector: {{ dns_autoscaler_deployment_nodeselector}} priorityClassName: system-cluster-critical securityContext: + seccompProfile: + type: RuntimeDefault supplementalGroups: [ 65534 ] fsGroup: 65534 nodeSelector: