mirror of https://github.com/istio/istio.io.git
Fix wrong default policy being stated (#4840)
When policy is set to an unrecognized value, the sidecar injector defaults to [not injecting the pod, regardless of any other factors](https://github.com/istio/istio/blob/master/pkg/kube/inject/inject.go#L478) This is different to the behvaior of `policy: disabled`, so the docs should make that clear. Signed-off-by: Maximilian Bischoff <maximilian.bischoff@inovex.de>
This commit is contained in:
parent
4a43a3d2cc
commit
075dc078ba
|
@ -96,7 +96,7 @@ of injected sidecar when it was.
|
|||
|
||||
Allowed policy values are `disabled` and `enabled`. The default policy
|
||||
only applies if the webhook’s `namespaceSelector` matches the target
|
||||
namespace. Unrecognized policy values default to `disabled`.
|
||||
namespace. Unrecognized policy causes injection to be disabled completely.
|
||||
|
||||
1. Check the per-pod override annotation
|
||||
|
||||
|
|
Loading…
Reference in New Issue