Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 1, 2025

fix(cherry-pick): Automated CherryPick 6267 for release-v5.1

Automated changes by create-pull-request GitHub action

…viously (#6267)

fix(user-controller): add AnnotationChangedPredicate for metadata changes

Previously, the User controller only watched for GenerationChangedPredicate,
which meant changes to metadata annotations (like owner transfers) would not
trigger reconciliation. This caused namespace owner annotations to become
out of sync when user ownership was transferred via OperationRequest.

Adding AnnotationChangedPredicate ensures that any annotation changes on the
User resource will trigger a reconcile, keeping namespace annotations in sync.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <[email protected]>
@github-actions github-actions bot added the bot label Dec 1, 2025
@github-actions github-actions bot requested a review from cuisongliu December 1, 2025 11:21
@cuisongliu cuisongliu added this to the v5.2 milestone Dec 1, 2025
@cuisongliu cuisongliu marked this pull request as ready for review December 1, 2025 11:38
@cuisongliu cuisongliu requested a review from a team as a code owner December 1, 2025 11:38
@cuisongliu cuisongliu merged commit 1da4627 into release-v5.1 Dec 1, 2025
9 checks passed
@cuisongliu cuisongliu deleted the cherry-pick-release-v5.1-6267 branch December 1, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants