Skip to content

Only run flannel host-network CIS netpol controller when using canal CNI#5318

Merged
brandond merged 1 commit intorancher:masterfrom
brandond:fix-flannel-host-networking-netpol
Feb 8, 2024
Merged

Only run flannel host-network CIS netpol controller when using canal CNI#5318
brandond merged 1 commit intorancher:masterfrom
brandond:fix-flannel-host-networking-netpol

Conversation

@brandond
Copy link
Copy Markdown
Member

Proposed Changes

Only run flannel host-network CIS netpol controller when using canal CNI

This will leave the existing policy in place in case anyone was depending on it, but new clusters will not have it. Administrators can delete if if they wish, without risk of the controller putting it back.

After some internal discussion, it appears that this was added when canal was our only CNI, and the policy this controller maintains should not be present when flannel is not in use. We are not going to actively remove it in case users are depending on it, but new clusters will not have it.

Types of Changes

bugfix

Verification

Check for existence of policy on a new cluster

Testing

Linked Issues

User-Facing Change


Further Comments

@brandond brandond requested a review from a team as a code owner January 24, 2024 21:58
This will leave the existing policy in place in case anyone was
depending on it, but new clusters will not have it. Administrators can
delete if if they wish, without risk of the controller putting it back.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
@brandond brandond force-pushed the fix-flannel-host-networking-netpol branch from 5320c49 to a3216ec Compare January 25, 2024 01:45
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