-
Notifications
You must be signed in to change notification settings - Fork 240
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
[release-4.17] OCPBUGS-49816: ovn-k, rbac: Enable users read & modify UserDefinedNetwork CRs #2640
base: release-4.17
Are you sure you want to change the base?
Conversation
Enable non cluster-admin users read UserDefinedNetwork CRs. Signed-off-by: Or Mergi <[email protected]>
The UserDefinedNetwork (UDN) CRD is targeted for non cluster-admin (e.g: project-admins) users enabling self-service OVN-K overlay networks w/o the cluster-amdin intervention [1]. The existing "openshift-ovn-kubernetes-cluster-reader" cluster-role doesn't affect all non-admin users in the cluster, requiring the admin to grant cluster-reader permissions. Add UDN reader cluster-role, utilizing cluster-role aggregation [2] to add the permissions to the built-in "view" cluster-role. Add UDN editor clsuter-role, utilizing cluster-role aggregation [2] to add the permissions to the built-in "edit" cluster-role. For completeness, add UDN read permissions to the existing cluster-role: "openshift-ovn-kubernetes-cluster-reader" [1] https://issues.redhat.com/browse/RFE-5530 [2] https://kubernetes.io/docs/reference/access-authn-authz/rbac/#aggregated-clusterroles Signed-off-by: Or Mergi <[email protected]>
Signed-off-by: Or Mergi <[email protected]> Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
@openshift-cherrypick-robot: Jira Issue OCPBUGS-48443 has been cloned as Jira Issue OCPBUGS-49816. Will retitle bug to link to clone. 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. |
@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-49816, 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. |
/assign @jcaamano |
/jira refresh |
@ormergi: This pull request references Jira Issue OCPBUGS-49816, which is invalid:
Comment 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. |
/jira refresh |
@ormergi: This pull request references Jira Issue OCPBUGS-49816, which is invalid:
Comment 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. |
/jira refresh |
@ormergi: This pull request references Jira Issue OCPBUGS-49816, which is invalid:
Comment 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. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcaamano, openshift-cherrypick-robot 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 |
/jira refresh |
@ormergi: This pull request references Jira Issue OCPBUGS-49816, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
Requesting review from QA contact: 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. |
/label cherry-pick-approved |
12 similar comments
3 similar comments
@openshift-cherrypick-robot: The following tests failed, say
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. |
This is an automated cherry-pick of #2627
/assign ormergi