Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.47 KB

Uninstall.md

File metadata and controls

59 lines (39 loc) · 1.47 KB

Uninstall


To uninstall the webhooks extension:

  1. Clone this repository

    git clone https://github.com/tektoncd/experimental.git
    cd webhooks-extension
  2. Use the kubectl delete command to delete the webhooks extension

    On Red Hat OpenShift:

    kubectl delete -k overlays/openshift-latest

    On other Kubernetes environments:

    kubectl delete -k overlays/latest

Uninstall any of the prereqs added during installation:

  1. Uninstall Tekton Dashboard

  2. Uninstall Tekton Triggers - this will delete any created EventListener including the tekton-webhooks-eventlistener we use:

    kubectl delete --filename https://storage.googleapis.com/tekton-releases/triggers/latest/release.yaml
  3. Uninstall Tekton Pipelines:

    kubectl delete -f https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml

Note: You may need to use the URL of the file you installed rather than the latest release in the above commands.

  1. Uninstall additionally created resources added after webhook creation:

    For OpenShift:

    kubectl delete route el-tekton-webhooks-eventlistener -n <your installation namespace>`

    For other environments using Ingress:

    kubectl delete ingress el-tekton-webhooks-eventlistener -n <your installation namespace>`