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

Handle stale LabelIdentities created for empty Pod labels correctly after upgrade #5449

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

Dyanngg
Copy link
Contributor

@Dyanngg Dyanngg commented Aug 28, 2023

This is a follow-up on PR #5404 which intends to address issue #5403.

In upgrade cases, Antrea controller will still receive LabelIdentity add events for LabelIdentities created by previous controller, which it needs to handle correctly. Also, the stale controller logic needs to be updated to ensure that LabelIdentities created with old normalization method are cleaned up after upgrade.

…fter upgrade

This is a follow-up on PR antrea-io#5404 which intends to address issue antrea-io#5403.
In upgrade cases, Antrea controller will still receive LabelIdentity add events
for LabelIdentities created by previous controller, which it needs to handle
correctly. Also, the stale controller logic needs to be updated to ensure that
LabelIdentities created with old normalization method are cleaned up after upgrade.

Signed-off-by: Dyanngg <[email protected]>
@Dyanngg Dyanngg added the action/backport Indicates a PR that requires backports. label Aug 28, 2023
Copy link
Contributor

@luolanzone luolanzone left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@tnqn tnqn left a comment

Choose a reason for hiding this comment

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

LGTM

@tnqn
Copy link
Member

tnqn commented Aug 29, 2023

/test-multicluster-e2e
/skip-all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/backport Indicates a PR that requires backports.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants