-
Notifications
You must be signed in to change notification settings - Fork 71
OCPBUGS-19789: Backport OCPBUGS-14698: Rename ClusterRoles created by OperatorGroups [release-4.14] #566
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
Conversation
@tmshort: This pull request references Jira Issue OCPBUGS-14698, 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 kubernetes/test-infra repository. |
Skipping CI for Draft Pull Request. |
@tmshort: This pull request references Jira Issue OCPBUGS-14698, 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 kubernetes/test-infra repository. |
d18718c
to
913eb48
Compare
/jira cherrypick OCPBUGS-14698 |
@tmshort: Jira Issue OCPBUGS-14698 has been cloned as Jira Issue OCPBUGS-19789. 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 kubernetes/test-infra repository. |
@tmshort: This pull request references Jira Issue OCPBUGS-19789, 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 kubernetes/test-infra repository. |
@tmshort: This pull request references Jira Issue OCPBUGS-19789, which is valid. The bug has been moved to the POST state. 6 validation(s) were run on this bug
Requesting review from QA contact: 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 kubernetes/test-infra repository. |
3f40f8b
to
40c2ae0
Compare
/retest |
@tmshort The unit-olm test looks perma-failed to me based on the test runs history. You may want to run it locally to see what the deal is. |
I've never been able to run the unit-tests locally... (machine config) |
Yah. I know it's a bit tricky to run tests on this downstream repo. You will need to get a OCP cluster and supply the config into some test commands in Makefile. So it requires some tinkering. I assume you didn't encounter this issue on upstream? |
@awgreene downstreaming finally happpend, so this needs a LGTM and BACKPORT-RISK-ASSESSED |
/retest |
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.
/lgtm
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 for addressing the requested changes @tmshort
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: awgreene, bandrade, dinhxuanvu, tmshort 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 |
We're gonna wait on this one until 4.14.0 is released as it has existed since OLM was introduced and isn't worth the risk of delaying 4.14.0 GA. |
When an OperatorGroup creates a ClusterRole, it's based directly on the OG name with a suffix, this causes two issues: 1. same-named OGs in different namespaces overwrite each others CRs 2. there are some very important CRs that could be overwritten by OG Tests added. Signed-off-by: Per Goncalves da Silva <[email protected]> Signed-off-by: Todd Short <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: 306cd60d8f204ce80c065bade124ff4eb353151a (cherry picked from commit 92c653a)
Add 4.14-specific fix: Keep old name if still ok Signed-off-by: Todd Short <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: 20fbc301102f7553496c4be7d01b6e519c811179 (cherry picked from commit 8bc1bf8)
Remove unused function. Remove possibly verbose log statement. Signed-off-by: Todd Short <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: fa51d6f651791a0f6eb3e288140f5e495d4138ff (cherry picked from commit 72056f7)
897e041
to
636c784
Compare
/retest |
/retest unit-olm |
@tmshort: The
The following commands are available to trigger optional jobs:
Use 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 kubernetes/test-infra repository. |
/test unit-olm |
@tmshort: 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/test-infra repository. I understand the commands that are listed here. |
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.
/lgtm
@tmshort: Jira Issue OCPBUGS-19789: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-19789 has been moved to the MODIFIED state. 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 kubernetes/test-infra repository. |
Backport OCPBUGS-14698: Rename ClusterRoles created by OperatorGroups.
Handle bad OG names by using the new format, keep good OG names as-is.