diff options
author | Thomas Duval <thomas.duval@orange.com> | 2018-01-04 14:41:56 +0100 |
---|---|---|
committer | Thomas Duval <thomas.duval@orange.com> | 2018-01-04 14:41:56 +0100 |
commit | 295ba85cba341338a2e74fef729dc74d091ac778 (patch) | |
tree | c131d0168a9f2ee10792d9257102dc9266175ed1 /tools/bin | |
parent | bb86c23b2b634b855d743e2b005b50391051372b (diff) |
update interface pod name to pipeline
Change-Id: I6a5a9ce3a27ea3ea40735dffa5f6a713f571cdc8
Diffstat (limited to 'tools/bin')
-rw-r--r-- | tools/bin/delete_orchestrator.sh | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/tools/bin/delete_orchestrator.sh b/tools/bin/delete_orchestrator.sh index 9b531e22..4d9d7c98 100644 --- a/tools/bin/delete_orchestrator.sh +++ b/tools/bin/delete_orchestrator.sh @@ -4,21 +4,19 @@ set +x kubectl delete -n moon -f tools/moon_kubernetes/templates/moon_orchestrator.yaml for i in $(kubectl get deployments -n moon | grep wrapper | cut -d " " -f 1 | xargs); do + echo deleting $i kubectl delete deployments/$i -n moon; done -for i in $(kubectl get deployments -n moon | grep interface | cut -d " " -f 1 | xargs); do - kubectl delete deployments/$i -n moon; -done -for i in $(kubectl get deployments -n moon | grep authz | cut -d " " -f 1 | xargs); do +for i in $(kubectl get deployments -n moon | grep pipeline | cut -d " " -f 1 | xargs); do + echo deleting $i kubectl delete deployments/$i -n moon; done for i in $(kubectl get services -n moon | grep wrapper | cut -d " " -f 1 | xargs); do + echo deleting $i kubectl delete services/$i -n moon; done -for i in $(kubectl get services -n moon | grep interface | cut -d " " -f 1 | xargs); do - kubectl delete services/$i -n moon; -done -for i in $(kubectl get services -n moon | grep authz | cut -d " " -f 1 | xargs); do +for i in $(kubectl get services -n moon | grep pipeline | cut -d " " -f 1 | xargs); do + echo deleting $i kubectl delete services/$i -n moon; done |