-
Notifications
You must be signed in to change notification settings - Fork 219
OCPBUGS-65476: Add openshift-ingress-operator ClusterRole to ClusterO… #1313
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
base: master
Are you sure you want to change the base?
Conversation
|
@davidesalerno: This pull request references Jira Issue OCPBUGS-65476, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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 openshift-eng/jira-lifecycle-plugin repository. |
14bb378 to
21827f4
Compare
|
/retest-required |
21827f4 to
103253e
Compare
|
/assign |
103253e to
35b0724
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
| - group: rbac.authorization.k8s.io | ||
| name: ingress-operator | ||
| resource: clusterrolebindings |
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.
The name here should match the name in manifests/01-cluster-role-binding.yaml:
| - group: rbac.authorization.k8s.io | |
| name: ingress-operator | |
| resource: clusterrolebindings | |
| - group: rbac.authorization.k8s.io | |
| name: openshift-ingress-operator | |
| resource: clusterrolebindings |
| kind: ClusterRoleBinding | |
| apiVersion: rbac.authorization.k8s.io/v1 | |
| metadata: | |
| name: openshift-ingress-operator |
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.
Maybe you were looking at the rolebinding's name? We should probably include these too:
cluster-ingress-operator/manifests/01-role-binding.yaml
Lines 2 to 6 in 35b0724
| kind: RoleBinding | |
| apiVersion: rbac.authorization.k8s.io/v1 | |
| metadata: | |
| name: ingress-operator | |
| namespace: openshift-ingress-operator |
cluster-ingress-operator/manifests/01-role-binding.yaml
Lines 23 to 27 in 35b0724
| kind: RoleBinding | |
| apiVersion: rbac.authorization.k8s.io/v1 | |
| metadata: | |
| name: ingress-operator | |
| namespace: openshift-config |
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.
...and then we might as well include the roles as well:
cluster-ingress-operator/manifests/01-role.yaml
Lines 2 to 6 in 35b0724
| kind: Role | |
| apiVersion: rbac.authorization.k8s.io/v1 | |
| metadata: | |
| name: ingress-operator | |
| namespace: openshift-ingress-operator |
cluster-ingress-operator/manifests/01-role.yaml
Lines 43 to 47 in 35b0724
| kind: Role | |
| apiVersion: rbac.authorization.k8s.io/v1 | |
| metadata: | |
| name: ingress-operator | |
| namespace: openshift-config |
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.
@Miciah I updated the code accordingly and in particular:
- fixed ClusterRole name
- added the Roles and RolesBinding
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.
As we discussed, it would also make sense to get the cluster ingress config and copy entries from Ingress.status.componentRoutes.relatedObjects to ClusterOperator.status.relatedObjects in Reconcile.
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.
I updated the controller with the requested change.
d00d433 to
1c93ae3
Compare
1c93ae3 to
56d32cc
Compare
|
@davidesalerno: The The following commands are available to trigger optional jobs: Use 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-sigs/prow repository. |
|
/test all |
…perator relatedObjects Signed-off-by: Davide Salerno <dsalerno@redhat.com>
56d32cc to
4303bbd
Compare
|
/retest-required |
|
@davidesalerno: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
/jira refresh |
|
@lihongan: This pull request references Jira Issue OCPBUGS-65476, which is invalid:
Comment 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 openshift-eng/jira-lifecycle-plugin repository. |
…perator relatedObjects
This change adds the
openshift-ingress-operatorClusterRole to the ClusterOperatorrelatedObjects