Skip to content

Conversation

@jonkerj
Copy link

@jonkerj jonkerj commented Dec 11, 2025

Description of the change

The pod-level security context of policy controller's webhook was configured using webhook.securityContext, while the container-level security context was using webhook.podSecurityContext. The former is debatable, the latter is just plain confusing.

This change uses explicit names for both contexts, removing all confusion.

Existing or Associated Issue(s)

n/a, if needed I will create one

Additional Information

This is probably a breaking change, as users overriding security context need to change their values.

Checklist

  • Chart version bumped in Chart.yaml according to semver. Where applicable, update and bump the versions in any associated umbrella chart
  • Variables are documented in the values.yaml and added to the README.md. The helm-docs utility can be used to generate the necessary content. Use helm-docs --dry-run to preview the content.
  • JSON Schema generated.
  • List tests pass for Chart using the Chart Testing tool and the ct lint command.

The pod-level security context of policy controller's webhook was
configured using `webhook.securityContext`, while the container-level
security context was using `webhook.podSecurityContext`. The former is
debatable, the latter is just plain confusing.

This change uses explicit names for both contexts, removing all
confusion.

BREAKING CHANGE: the values regarding security contexts have been
renamed.

Signed-off-by: Jorik Jonker <[email protected]>
@jonkerj jonkerj requested review from a team as code owners December 11, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant