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

Resource are not being deleted after uninstalling the pipeline-operator #176

Closed
sudhirverma opened this issue Jan 7, 2020 · 2 comments
Closed

Comments

@sudhirverma
Copy link

When I uninstall the pipeline-operator from the OperatorHub it doesn't delete all the resources.

oc get crd

output after uninstalling the pipeline-operator.
pipelineresources.tekton.dev                                2020-01-07T07:57:19Z
pipelineruns.tekton.dev                                     2020-01-07T07:57:18Z
pipelines.tekton.dev                                        2020-01-07T07:57:18Z

after uninstalling the pipeline-operator from OperatorHub it should delete all the tekton resources.

issue: redhat-developer/vscode-tekton#1

@vdemeester
Copy link
Member

/cc @sthaha @nikhil-thomas
I think this is by design (initially)

@sthaha
Copy link
Contributor

sthaha commented Jan 8, 2020

@sudhirverma To the best of my knowledge this is the expected behaviour of Operator Lifecycle Manager. I do agree it sounds counter intuitive. The recommended way to uninstall the operator is to remove the cluster-wide CR (custom-resource) called cluster which the operator creates automatically when it is subscribed to e.g.

oc delete config.operator.tekton.dev cluster

This is explained in the blog series that @nikhil-thomas wrote some time back - https://medium.com/@nikhilthomas1/right-way-to-uninstall-openshift-pipelines-fromopenshift-4-x-fb2a7b7c492c

I think we must add that section to the tutorial as well.

For now, I am closing this as not a bug until OLM gives us an option.

@vdemeester thanks for the ping 🙏 👼

@sthaha sthaha closed this as completed Jan 8, 2020
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

No branches or pull requests

3 participants