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

controller/node: skip update vlanconfig with witness node #105

Merged

Conversation

Vicente-Cheng
Copy link
Contributor

Problem:
Now, the matched-nodes will filter out the witness node with creation.
However, the controller has a chance to update the witness node to the matched-nodes on the controller part.

Solution:
We need to skip to update the matched-nodes with the witness node change.

Related Issue:
#104 (comment)

Test plan:
Make sure the matched-nodes annotation of vlanconfig does not contain any witness node.

    - we did not apply any vlanconfig on the witness node,
      so we need to skip the vlanconfig update when witness
      node change.

Signed-off-by: Vicente Cheng <[email protected]>
@Vicente-Cheng Vicente-Cheng force-pushed the fix-matched-nodes-update branch from afa8df4 to 0a70edf Compare August 5, 2024 04:43
Copy link
Member

@starbops starbops left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

Copy link
Contributor

@mingshuoqiu mingshuoqiu left a comment

Choose a reason for hiding this comment

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

LGTM

@Vicente-Cheng Vicente-Cheng merged commit 9ca1501 into harvester:master Aug 5, 2024
3 checks passed
@Vicente-Cheng
Copy link
Contributor Author

@Mergifyio backport v0.4.x

Copy link

mergify bot commented Aug 7, 2024

backport v0.4.x

✅ Backports have been created

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.

3 participants