From acd54ba601e34dafac063f94054bb80348e73dcd Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 6 Oct 2019 04:43:13 +0200 Subject: Script to fullhy clean-up outdated rc --- scripts/kube-ops-view.sh | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 scripts/kube-ops-view.sh (limited to 'scripts/kube-ops-view.sh') diff --git a/scripts/kube-ops-view.sh b/scripts/kube-ops-view.sh deleted file mode 100755 index ca1389e..0000000 --- a/scripts/kube-ops-view.sh +++ /dev/null @@ -1,12 +0,0 @@ -#! /bin/bash - -NS=mon - - -oc -n $NS new-project ocp-ops-view -oc -n $NS create sa kube-ops-view -oc -n $NS adm policy add-scc-to-user anyuid -z kube-ops-view -oc -n $NS adm policy add-cluster-role-to-user cluster-admin system:serviceaccount:mon:kube-ops-view -oc -n $NS apply -f https://raw.githubusercontent.com/raffaelespazzoli/kube-ops-view/ocp/deploy-openshift/kube-ops-view.yaml -oc -n $NS expose svc kube-ops-view -oc -n $NS get route | grep kube-ops-view | awk '{print $2}' -- cgit v1.2.3