From ae85a4d942271ef95eca4d73178864ffe8dac766 Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Larsen Date: Wed, 27 Nov 2024 16:21:25 +0100 Subject: [PATCH] =?UTF-8?q?Exclude=20eks-pod-identity-agent=20from=20admis?= =?UTF-8?q?sion-controller=20to=20avoid=20=F0=9F=90=94=F0=9F=A5=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mikkel Oscar Lyderik Larsen --- cluster/manifests/02-admission-control/teapot.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cluster/manifests/02-admission-control/teapot.yaml b/cluster/manifests/02-admission-control/teapot.yaml index b22ef739b6..532e78c9b1 100644 --- a/cluster/manifests/02-admission-control/teapot.yaml +++ b/cluster/manifests/02-admission-control/teapot.yaml @@ -17,6 +17,9 @@ webhooks: - key: k8s-app operator: NotIn values: ["kube-proxy"] + - key: app.kubernetes.io/name + operator: NotIn + values: ["eks-pod-identity-agent"] {{- end }} clientConfig: {{- if eq .Cluster.Provider "zalando-eks"}} @@ -49,6 +52,9 @@ webhooks: - key: k8s-app operator: NotIn values: ["kube-proxy"] + - key: app.kubernetes.io/name + operator: NotIn + values: ["eks-pod-identity-agent"] {{- end }} clientConfig: {{- if eq .Cluster.Provider "zalando-eks"}} @@ -341,6 +347,9 @@ webhooks: - key: k8s-app operator: NotIn values: ["kube-proxy"] + - key: app.kubernetes.io/name + operator: NotIn + values: ["eks-pod-identity-agent"] {{- end }} clientConfig: {{- if eq .Cluster.Provider "zalando-eks"}}