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

docs: Update l2-announcements policy example to be more realistic #27039

Conversation

dylandreimerink
Copy link
Member

In the example policy for l2-announcements, the example was using a label selector that said: role: worker. While it is possible to add such a label, most people will not do that and want to rely on the existing node-role.kubernetes.io/<role> labels added by kubeadm and similar tools.

If an inexperienced user copies and pastes our example without modifying the node label selector, it will likely not work. This commit updates the example to be more realistic.

Fixes: #26996

Update l2-announcements policy example in docs to be more realistic

In the example policy for l2-announcements, the example was using a
label selector that said: `role: worker`. While it is possible to add
such a label, most people will not do that and want to rely on the
existing `node-role.kubernetes.io/<role>` labels added by kubeadm and
similar tools.

If an inexperienced user copies and pastes our example without modifying
the node label selector, it will likely not work. This commit updates
the example to be more realistic.

Signed-off-by: Dylan Reimerink <dylan.reimerink@isovalent.com>
@dylandreimerink dylandreimerink added area/documentation Impacts the documentation, including textual changes, sphinx, or other doc generation code. release-note/misc This PR makes changes that have no direct user impact. needs-backport/1.14 This PR / issue needs backporting to the v1.14 branch labels Jul 24, 2023
@dylandreimerink dylandreimerink requested a review from a team as a code owner July 24, 2023 17:49
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from main in 1.14.0 Jul 24, 2023
Copy link
Contributor

@zacharysarah zacharysarah left a comment

Choose a reason for hiding this comment

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

So helpful. ✨

@dylandreimerink
Copy link
Member Author

/test

@dylandreimerink
Copy link
Member Author

dylandreimerink commented Jul 25, 2023

Tests are not skipped or triggered for doc only change 😢, so I can't merge myself. Marking as ready-to-merge

@dylandreimerink dylandreimerink added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jul 25, 2023
@joestringer joestringer merged commit 4863f81 into cilium:main Jul 25, 2023
51 checks passed
@nbusseneau nbusseneau mentioned this pull request Jul 25, 2023
4 tasks
@nbusseneau nbusseneau added backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. and removed needs-backport/1.14 This PR / issue needs backporting to the v1.14 branch labels Jul 25, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from main to Backport pending to v1.14 in 1.14.0 Jul 25, 2023
@joestringer joestringer added backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. and removed backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. labels Jul 25, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.14 to Backport done to v1.14 in 1.14.0 Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Impacts the documentation, including textual changes, sphinx, or other doc generation code. backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
No open projects
1.14.0
Backport done to v1.14
Development

Successfully merging this pull request may close these issues.

L2announcement not creating lease
4 participants