Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #712 from dacleyra/706
Browse files Browse the repository at this point in the history
706
  • Loading branch information
kaczyns authored May 14, 2020
2 parents 0bce6c3 + d605e41 commit 41d2388
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deploy/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ oc new-project tekton-pipelines || true

openshift_master_default_subdomain=$(oc get ingresses.config.openshift.io cluster --output=jsonpath={.spec.domain})

curl -s -L https://github.com/tektoncd/dashboard/releases/download/v0.6.1.1/openshift-tekton-webhooks-extension-release.yaml | sed "s/{openshift_master_default_subdomain}/${openshift_master_default_subdomain}/" | sed "s/openshift-pipelines/tekton-pipelines/" | oc apply -f -
curl -s -L https://github.com/tektoncd/dashboard/releases/download/v0.6.1.1/openshift-tekton-dashboard-release.yaml | sed "s/openshift-pipelines/tekton-pipelines/" | oc apply -f -
curl -s -L https://github.com/tektoncd/dashboard/releases/download/v0.6.1.3/openshift-tekton-webhooks-extension-release.yaml | sed "s/{openshift_master_default_subdomain}/${openshift_master_default_subdomain}/" | sed "s/openshift-pipelines/tekton-pipelines/" | oc apply -f -
curl -s -L https://github.com/tektoncd/dashboard/releases/download/v0.6.1.3/openshift-tekton-dashboard-release.yaml | sed "s/openshift-pipelines/tekton-pipelines/" | oc apply -f -

# Network policy for kabanero and tekton pipelines namespaces
oc apply -f $KABANERO_CUSTOMRESOURCES_YAML --selector kabanero.io/install=23-cr-network-policy
Expand Down
4 changes: 2 additions & 2 deletions deploy/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ oc delete namespaces --selector=kabanero.io/component=kappnav --ignore-not-found
oc delete --ignore-not-found -f $KABANERO_CUSTOMRESOURCES_YAML --selector kabanero.io/install=25-triggers-role

# Tekton Dashboard
curl -s -L https://github.com/tektoncd/dashboard/releases/download/v0.6.1.1/openshift-tekton-webhooks-extension-release.yaml | sed "s/openshift-pipelines/tekton-pipelines/" | oc delete --ignore-not-found -f -
curl -s -L https://github.com/tektoncd/dashboard/releases/download/v0.6.1.1/openshift-tekton-dashboard-release.yaml | sed "s/openshift-pipelines/tekton-pipelines/" | oc delete --ignore-not-found -f -
curl -s -L https://github.com/tektoncd/dashboard/releases/download/v0.6.1.3/openshift-tekton-webhooks-extension-release.yaml | sed "s/openshift-pipelines/tekton-pipelines/" | oc delete --ignore-not-found -f -
curl -s -L https://github.com/tektoncd/dashboard/releases/download/v0.6.1.3/openshift-tekton-dashboard-release.yaml | sed "s/openshift-pipelines/tekton-pipelines/" | oc delete --ignore-not-found -f -

# Delete CustomResources, do not delete namespaces , which can lead to finalizer problems.
oc delete -f $KABANERO_CUSTOMRESOURCES_YAML --ignore-not-found --selector kabanero.io/install=23-cr-network-policy,kabanero.io/namespace!=true
Expand Down

0 comments on commit 41d2388

Please sign in to comment.