Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ambient: Document that PeerAuthentication mTLS.Mode = DISABLE is a no-op in ambient #14789

Closed
bleggett opened this issue Mar 26, 2024 · 1 comment
Assignees

Comments

@bleggett
Copy link
Contributor

In sidecar, it used to be possible to globally disable mTLS for all workloads at the cluster or namespace level with PeerAuthentication.

In ambient, you can still create a PeerAuthentication policy at the mesh or namespace level that uses DISABLE, but it will be ignored. This is by design, as we do not support DISABLE in ambient - it is effectively an alias for PERMISSIVE.

If you want to drop mTLS for an entire namespace, unlabel the namespace for ambient capture instead, e.g. kubectl label namespace default istio.io/dataplane-mode-

We need to document this behavior, however.

@craigbox
Copy link
Contributor

craigbox commented May 9, 2024

See also istio/api#3184

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants