Update matchLabels parameter in network-policy#38283
Update matchLabels parameter in network-policy#38283maxwelldb merged 1 commit intoopenshift:mainfrom
Conversation
|
✔️ Deploy Preview for osdocs ready! 🔨 Explore the source changes: 46d080f 🔍 Inspect the deploy log: https://app.netlify.com/sites/osdocs/deploys/618aa6983280c10008b08db9 😎 Browse the preview: https://deploy-preview-38283--osdocs.netlify.app |
|
openshifg-ingress namespace have both two label |
|
@zhaozhanqi, I was told that the newer label is the preferred one to use now. However, which cluster network provider is used matters:
So this seems to be 4.6+ for OVN-Kubernetes and 4.7+ for OpenShift SDN. |
|
@jboxman-rh @stevsmit @zhaozhanqi Jason has it right, new labels (policy-group.network.openshift.io/ingress: "" and policy-group.network.openshift.io/host-network: "") are supported on 4.6 OVN-Kubernetes but not on openshiftSDN. I did find two issues with the policy support where in one case old label with openshiftSDN does not work and one new label does not work with OVN-kubernetes 4.7 inclusive and on wards all labels are supported and work. |
|
/lgtm |
|
@stevsmit seems fine; My insight into this has drift somewhat in recent months. As long as it passes QE we're good to go for peer review I think. |
maxwelldb
left a comment
There was a problem hiding this comment.
Left a comment. I don't think this does anything that is a rule violation, but happy to chat about alternative treatments.
|
/lgtm |
|
/cherry-pick enterprise-4.7 |
|
/cherry-pick enterprise-4.8 |
|
/cherry-pick enterprise-4.9 |
|
/cherry-pick enterprise-4.10 |
|
@maxwelldb: new pull request created: #38534 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
@maxwelldb: new pull request created: #38535 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
@maxwelldb: new pull request created: #38536 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
@maxwelldb: new pull request created: #38537 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
For 4.7+
GH Issue: #38168
Pending QE ack:
@zhaozhanqi @anuragthehatter please review :) I am unsure if this is 100% correct.
Preview: https://deploy-preview-38283--osdocs.netlify.app/openshift-enterprise/latest/networking/network_policy/multitenant-network-policy.html