-
Notifications
You must be signed in to change notification settings - Fork 73
/
delete-allure-k8s-objects.sh
executable file
·24 lines (19 loc) · 1.21 KB
/
delete-allure-k8s-objects.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
set -o xtrace
kubectl delete deployment allure-deployment --namespace allure-docker-service
kubectl delete configmap allure-config-map --namespace allure-docker-service
kubectl delete configmap allure-config-ui-map --namespace allure-docker-service
kubectl delete secret allure-secret --namespace allure-docker-service
kubectl delete secret my-domain-com-tls --namespace allure-docker-service
kubectl delete persistentvolumeclaim allure-persistent-volume-claim --namespace allure-docker-service
kubectl delete persistentvolume allure-persistent-volume
kubectl delete ingress allure-ingress-service-load-balancer --namespace allure-docker-service
kubectl delete ingress allure-ingress-service-node-port --namespace allure-docker-service
kubectl delete service allure-service-load-balancer --namespace allure-docker-service
kubectl delete service allure-service-node-port --namespace allure-docker-service
kubectl get all -o wide --namespace allure-docker-service
kubectl get configmaps --namespace allure-docker-service
kubectl get secrets --namespace allure-docker-service
kubectl get persistentvolumeclaims --namespace allure-docker-service
kubectl get persistentvolumes
kubectl delete namespace allure-docker-service