-
Notifications
You must be signed in to change notification settings - Fork 3.4k
cilium-cli: add clustermesh inspect-policy-default-local-cluster cmd #39828
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
cilium-cli: add clustermesh inspect-policy-default-local-cluster cmd #39828
Conversation
/test |
a109e73
to
4c4fe44
Compare
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! A couple of comments inline
41d60b2
to
309f0f0
Compare
/test |
Add list slim objects Network policies method to cilium-cli to prepare for a new command to help with the policy-default-local-cluster migration. Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
309f0f0
to
a3f3da4
Compare
/test |
a3f3da4
to
b5aa229
Compare
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logic looks good to me. Can we call this "inspect-policy-default-local-cluster" or similar? The verb "prepare" to me implies that this will modify my policy.
b5aa229
to
7396a85
Compare
Add a new command to inspect for the policy-default-local-cluster migration. Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
7396a85
to
d670815
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
/test |
Add a new cilium-cli command to prepare for the policy-default-local-cluster migration, followup to the main PR #39338.
The
policy-default-local-cluster
will change behavior of all network polciies to by default select the local cluster unless explictily specified (currently documented here https://docs.cilium.io/en/latest/network/clustermesh/policy/#allowing-specific-communication-between-clusters).This new command will most likely get documented into some upgrade guide docs once we have determined when
policy-default-local-cluster
will be turned on by default.The current output look like this:
Related to #36194 / #36194 (comment)