-
Notifications
You must be signed in to change notification settings - Fork 71
OPRUN-3923,OPRUN-3906,OPRUN-3903,OPRUN-3926: Add NetworkPolicy support to OLMv0 components #1008
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
OPRUN-3923,OPRUN-3906,OPRUN-3903,OPRUN-3926: Add NetworkPolicy support to OLMv0 components #1008
Conversation
@perdasilva: This pull request references OPRUN-3923 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.20.0" version, but no target version was set. In 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 openshift-eng/jira-lifecycle-plugin repository. |
@perdasilva: This pull request references OPRUN-3923 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.20.0" version, but no target version was set. This pull request references OPRUN-3906 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.20.0" version, but no target version was set. In 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 openshift-eng/jira-lifecycle-plugin repository. |
@perdasilva: This pull request references OPRUN-3923 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.20.0" version, but no target version was set. This pull request references OPRUN-3906 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.20.0" version, but no target version was set. This pull request references OPRUN-3903 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.20.0" version, but no target version was set. In 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 openshift-eng/jira-lifecycle-plugin repository. |
@perdasilva: An error was encountered searching for bug OPRUN-3926 on the Jira server at https://issues.redhat.com/. No known errors were detected, please see the full error message for details. Full error message.
No response returned: Get "https://issues.redhat.com/rest/api/2/issue/OPRUN-3926": GET https://issues.redhat.com/rest/api/2/issue/OPRUN-3926 giving up after 5 attempt(s)
Please contact an administrator to resolve this issue, then request a bug refresh with In 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 openshift-eng/jira-lifecycle-plugin repository. |
@perdasilva: This pull request references OPRUN-3923 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.20.0" version, but no target version was set. This pull request references OPRUN-3906 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.20.0" version, but no target version was set. This pull request references OPRUN-3903 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.20.0" version, but no target version was set. In 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 openshift-eng/jira-lifecycle-plugin repository. |
cae8c93
to
4b6b3ad
Compare
the issue mentioned in #1005 (comment) is fixed in this PR. I already update the bug ticket. |
microshift-manifests/0000_50_olm_06-psm-networkpolicy.networkpolicy.yaml
Outdated
Show resolved
Hide resolved
@kuiwang02 thanks for the thorough review ^^ I'll fix those up! |
eaca49b
to
8045c80
Compare
@perdasilva: This pull request references OPRUN-3923 which is a valid jira issue. This pull request references OPRUN-3906 which is a valid jira issue. This pull request references OPRUN-3903 which is a valid jira issue. This pull request references OPRUN-3926 which is a valid jira issue. This pull request references Jira Issue OCPBUGS-56355, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In 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 openshift-eng/jira-lifecycle-plugin repository. |
@perdasilva: This pull request references OPRUN-3923 which is a valid jira issue. This pull request references OPRUN-3906 which is a valid jira issue. This pull request references OPRUN-3903 which is a valid jira issue. This pull request references OPRUN-3926 which is a valid jira issue. In 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 openshift-eng/jira-lifecycle-plugin repository. |
…and olmconfig resource order when patching Signed-off-by: Per Goncalves da Silva <[email protected]>
…3568) * include network policy for all configmap and grpc catalogsources Signed-off-by: Joe Lanford <[email protected]> * add network policy for bundle unpack pods Signed-off-by: Joe Lanford <[email protected]> --------- Signed-off-by: Joe Lanford <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: 8723097edf1d05d5c62e52224264c95be7f56861
* Introduce NetworkPolicy for core component workloads. [RFC](https://docs.google.com/document/d/10MZ4t2XgRydGa-NRs4uXFNVoTHH9SPKd7mV9IwT_i7M/edit?usp=sharing) Signed-off-by: Per G. da Silva <[email protected]> * specify namespace with selectors * Fix formatting Signed-off-by: Per G. da Silva <[email protected]> * template network policy Signed-off-by: Per G. da Silva <[email protected]> * restrict kube-apiserver and dns traffic Signed-off-by: Per G. da Silva <[email protected]> * Address reviewer comments Signed-off-by: Per G. da Silva <[email protected]> --------- Signed-off-by: Per G. da Silva <[email protected]> Co-authored-by: Per G. da Silva <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: dcd8ad89c498ecdecd0f286d26e7aedfc1383084
Signed-off-by: Rashmi Gottipati <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: d7aaeb11ab80f862fc9c70dfb7865158bb67e28c
Signed-off-by: Per Goncalves da Silva <[email protected]> Co-authored-by: Per Goncalves da Silva <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: b4ec5bd5caa84725ec40de79b40f93fa08686563
…y (#3582) Signed-off-by: Per Goncalves da Silva <[email protected]> Co-authored-by: Per Goncalves da Silva <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: 8c53b7f2598c0a2b88c22568712c18152cdfeee5
…penshift Signed-off-by: Per Goncalves da Silva <[email protected]>
Signed-off-by: Per Goncalves da Silva <[email protected]>
Signed-off-by: Per Goncalves da Silva <[email protected]>
Signed-off-by: Per Goncalves da Silva <[email protected]>
/retest |
6 similar comments
/retest |
/retest |
/retest |
/retest |
/retest |
/retest |
GCP tests are in permafail |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bentito, perdasilva The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@perdasilva: all tests passed! Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
[ART PR BUILD NOTIFIER] Distgit: operator-registry |
[ART PR BUILD NOTIFIER] Distgit: operator-lifecycle-manager |
[ART PR BUILD NOTIFIER] Distgit: ose-operator-framework-tools |
This PR adds NetworkPolicy resources to restrict OLMv0 component network communications:
resources:
code change:
network policies for catalogs need to be managed programmatically by stamping out NetworkPolicy resources for the catalog source pod. The definition of the policy depends on the type of catalog source (grpc or configmap). But they essentially restrict ingress to 50051 (catalog services). In the case of the configmap catalog source, egress to the kube-apiserver is also required (to read the configmap)
microshift: