From afc00860b07f8685160d3c7a0bd9211ca5b540f0 Mon Sep 17 00:00:00 2001 From: Reto Lehmann Date: Tue, 24 Sep 2024 08:57:58 +0200 Subject: [PATCH] Use istio.sidecar.inject label instead of annotation --- config/500-controller.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/500-controller.yaml b/config/500-controller.yaml index 8d8aaacc9d..5309edb00b 100644 --- a/config/500-controller.yaml +++ b/config/500-controller.yaml @@ -28,12 +28,11 @@ spec: app: net-istio-controller template: metadata: - annotations: + labels: # This must be outside of the mesh to probe the gateways. # NOTE: this is allowed here and not elsewhere because # this is the Istio controller, and so it may be Istio-aware. sidecar.istio.io/inject: "false" - labels: app: net-istio-controller app.kubernetes.io/component: net-istio app.kubernetes.io/name: knative-serving