-
Notifications
You must be signed in to change notification settings - Fork 11
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
OCPBUGS-38601: The operand should not fail when the operator is uninstalled without prior deletion of the operator #222
OCPBUGS-38601: The operand should not fail when the operator is uninstalled without prior deletion of the operator #222
Conversation
@aleskandro: This pull request references Jira Issue OCPBUGS-38601, 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. |
/jira refresh |
@aleskandro: This pull request references Jira Issue OCPBUGS-38601, which is valid. The bug has been moved to the POST state. 3 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. |
4a4c498
to
b93b63e
Compare
/cc @Prashanth684 @AnnaZivkovic /cc @lwan-wanglin |
/retest |
b93b63e
to
f406b37
Compare
@aleskandro: This pull request references Jira Issue OCPBUGS-38601, which is valid. 3 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. |
f406b37
to
41ec8db
Compare
/test e2e-gcp-multi-operator-olm e2e-gcp-multi-operator |
/test e2e-gcp-multi-operator e2e-gcp-multi-operator-olm |
2 similar comments
/test e2e-gcp-multi-operator e2e-gcp-multi-operator-olm |
/test e2e-gcp-multi-operator e2e-gcp-multi-operator-olm |
59b7814
to
895a8a1
Compare
/test e2e-gcp-multi-operator |
895a8a1
to
27cbd3c
Compare
…talled without prior deletion of the operator When the operator is uninstalled without prior deletion of the operand, we should not let the operand to fail. This is due to the removal of the service account and other RBAC objects. This commit will let the operator to create the RBAC objects and additional service accounts, detached from the OLM ones. This commmit also includes an edge-case fix where a deployment is deleted outside of the lifecycle of the operand: the operator must be able to reconcile it, therefore we need to remove the finalizer.
27cbd3c
to
d352eb5
Compare
/test images e2e-gcp-multi-operator-olm e2e-gcp-multi-operator |
/lgtm |
@aleskandro: 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. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AnnaZivkovic 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 |
@aleskandro: Jira Issue OCPBUGS-38601: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-38601 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 openshift-eng/jira-lifecycle-plugin repository. |
When the operator is uninstalled without prior deletion of the operand, we should not let the operand fail. This is due to the removal of the service account and other RBAC objects. This commit will let the operator create the RBAC objects and additional service accounts detached from the OLM ones.
The first commit also includes an edge-case fix: when a deployment is deleted outside of the operand's lifecycle, the operator must be able to reconcile it, so we need to remove the finalizer.
This PR also adds TopologySpreadConstraints to handle scenarios of nodes maintenance.
Depends on #214