Skip to content

Commit a806b15

Browse files
enarhagabemontero
authored andcommitted
Remove refs to PaC namespace
With PaC being installed by the OSP operator, we no longer need the pipelines-as-code namespace. Here we cleanup references to that namespace from the reset and test scripts.
1 parent 25c74ab commit a806b15

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

developer/openshift/reset.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -237,13 +237,6 @@ uninstall_operators_and_controllers(){
237237
kubectl delete operator "$gitops_operator"
238238
fi
239239

240-
printf "\n Uninstalling PAC:\n"
241-
kubectl delete -k "$GITOPS_DIR/pipelines-as-code" --ignore-not-found=true
242-
pac_ns=$(kubectl get ns | grep -ie "pipelines-as-code" | cut -d " " -f 1)
243-
if [[ -n "$pac_ns" ]]; then
244-
kubectl delete ns "$pac_ns"
245-
fi
246-
247240
printf "\n Uninstalling tekton-results:\n"
248241
kubectl delete -k "$GITOPS_DIR/tekton-results" --ignore-not-found=true
249242
tkn_results_ns=$(kubectl get ns | grep -ie "tekton-results" | cut -d " " -f 1)

operator/test/test.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,6 @@ test_security() {
270270
echo " - Check Pod Host Network openshift-pipelines: "
271271
check_host_network "openshift-pipelines"
272272

273-
echo " - Check Pod Security pipelines-as-code: "
274-
check_pod_security "pipelines-as-code"
275-
echo " - Check Pod Host Network pipelines-as-code: "
276-
check_host_network "pipelines-as-code"
277-
278273
echo " - Check Pod Security tekton-results: "
279274
check_pod_security "tekton-results"
280275
echo " - Check Pod Host Network tekton-results: "

0 commit comments

Comments
 (0)