mirror of https://github.com/istio/istio.io.git
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:
parent
31770a3c7e
commit
c94cae3ba0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue