Skip to content

Conversation

@sakkiii
Copy link
Contributor

@sakkiii sakkiii commented Feb 9, 2025

Description:

The authentication.istio.io/v1alpha1 Policy resource was deprecated in Istio 1.5 and removed in Istio 1.6. It has been replaced by PeerAuthentication and RequestAuthentication in security.istio.io/v1beta1.

Changes:

  • Ensured compatibility with Istio 1.6+ by using security.istio.io/v1beta1.
  • Replaced Policy with PeerAuthentication.
  • Updated mTLS settings (STRICT, PERMISSIVE, DISABLE) to align with Istio best practices.
  • Ensured correct selectors for targeted workloads.

Why this change?

  • authentication.istio.io/v1alpha1 is deprecated in recent Istio versions.
  • security.istio.io/v1beta1 is the recommended API for workload authentication policies.
  • Ensures compatibility with future Istio releases.

Testing & Verification:

  • Applied the changes in a staging environment to confirm correct behavior.
  • Verified that mTLS settings remain consistent.
  • Checked logs for any unexpected authentication failures.
@botelastic botelastic bot added the triage label Feb 9, 2025
Copy link
Collaborator

@pebrc pebrc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution. LGTM

@pebrc
Copy link
Collaborator

pebrc commented Feb 17, 2025

buildkite test this

@pebrc pebrc added the >docs Documentation label Feb 18, 2025
@botelastic botelastic bot removed the triage label Feb 18, 2025
@pebrc pebrc merged commit 376f204 into elastic:main Feb 18, 2025
5 checks passed
@pebrc pebrc mentioned this pull request Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>docs Documentation

2 participants