Clarification on injection (#14889)

* Clarification on injection

hope to fixes: https://github.com/istio/istio.io/issues/14597

I don't think you could use istio.io/rev=disabled, so didn't list that label in the first bullet.

* Update index.md
This commit is contained in:
Lin Sun 2024-04-17 09:16:42 -04:00 committed by GitHub
parent 31770a3c7e
commit c94cae3ba0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -131,8 +131,8 @@ the `istio-injection` label will take precedence.
The injector is configured with the following logic:
1. If either label is disabled, the pod is not injected
1. If either label is enabled, the pod is injected
1. If either label (`istio-injection` or `sidecar.istio.io/inject`) is disabled, the pod is not injected.
1. If either label (`istio-injection` or `sidecar.istio.io/inject` or `istio.io/rev`) is enabled, the pod is injected.
1. If neither label is set, the pod is injected if `.values.sidecarInjectorWebhook.enableNamespacesByDefault` is enabled. This is not enabled by default, so generally this means the pod is not injected.
### Manual sidecar injection