UNCLASSIFIED - NO CUI

Move authorizationPolicies.enabled under istio

General MR

Summary

Moves the umbrella's global AuthorizationPolicy switch from the top-level authorizationPolicies.enabled to istio.authorizationPolicies.enabled, next to istio.ambient and istio.egressGateway. The new path matches the istio.authorizationPolicies path bb-common uses per package. The key was added in a7a0ac6c and is not in any release yet, so it moves without a deprecation shim. Logic is unchanged: policies are enabled when a package sets istio.hardened.enabled, when the global flag is on, or when ambient mode is on.

  • The top-level key is removed from the schema. Because the root schema disallows extra properties, leaving the old key set fails at render time (additional properties 'authorizationPolicies' not allowed) instead of being silently ignored.
  • docs/configuration/base-config.md was regenerated. Besides the moved key, this picks up changes master had already made (the ambient default is now true, and package tags are current).

Relevant logs/screenshots

  • helm template compared against master with umbrella test values: default (ambient), sidecar with the flag off, and sidecar with the flag on (old key on master, new key on this branch). Output is the same except for randomly generated passwords and checksums. With chart defaults, the new key switches per-package authorizationPolicies.enabled from false to true exactly as the old key did (10 of 11 packages).
  • Helm unit tests: 683 passed (after merging master, which includes the Tempo test fix from b00e2264).
  • helm lint passes, and scripts/generate-values-reference.sh --check passes.

Linked Issue

Closes #3499 (closed)

Upgrade Notices

N/A

Edited by Christopher O'Connell

Merge request reports

Loading
Loading