i’m trying to Disable the sidecar-injection policy during IstioOperator.yml to be able to later set specifically on deployment the sidecar.istio.io/inject annotation.
usually i do it manually by editing the configmap istio-sidecar-injector and set the policy to disabled.
i’m puzzling on how to do so in the IstioOperator.
i’ve tried this:
apiVersion: install.istio.io/v1alpha1 kind: IstioOperator spec: components: ingressGateways: - enabled: true label: istio: ingressgateway values: sidecarInjectorWebhook: enabled: false
but seems like its deprecated.
how can i do that?