Skip to content
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

uninstall.sh: Validate MultiClusterHub is deleted before continuing #254

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

michaelkotelnikov
Copy link

Signed-off-by: michaelkot97 [email protected]

Description of the change: Added a check that verifies the deletion of the MultiClusterHub resource before continuing with CRD and operator deletion in the uninstall.sh script.

Motivation for the change: The existence of some resources does not allow the deletion of the MultiClusterHub resource (e.g - MultiClusterObservability). When such resources exist, the script fails to delete the MultiClusterHub CR, but continues to delete its CRD. In such cases the uninstall process is not successful and leaves a corrupted instance of a MultiClusterHub. The next stages of the script should only run when the MultiClusterHub instance is really deleted.

@openshift-ci
Copy link

openshift-ci bot commented Jun 7, 2022

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: michaelkotelnikov
To complete the pull request process, please assign gurnben after the PR has been reviewed.
You can assign the PR to them by writing /assign @gurnben in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant