-
-
Notifications
You must be signed in to change notification settings - Fork 144
/
Copy pathkub-down
37 lines (34 loc) · 1.14 KB
/
kub-down
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/sh
kubectl delete \
-f certs/selfsigned-issuer.yaml \
-f certs/ca-certificate.yaml \
-f certs/ca-issuer.yaml \
-f certs/mysql.yaml \
-f certs/mysql-replication.yaml \
-f certs/mysql-openemr-client.yaml \
-f certs/phpmyadmin.yaml \
-f certs/mysql-phpmyadmin-client.yaml
kubectl delete -f https://github.com/cert-manager/cert-manager/releases/download/v1.11.0/cert-manager.yaml
kubectl delete \
-f mysql/configmap.yaml \
-f mysql/secret.yaml \
-f mysql/service.yaml \
-f mysql/statefulset.yaml \
-f redis/configmap-main.yaml \
-f redis/configmap-acl.yaml \
-f redis/configmap-pipy.yaml \
-f redis/statefulset-redis.yaml \
-f redis/statefulset-sentinel.yaml \
-f redis/deployment-redisproxy.yaml \
-f redis/service-redis.yaml \
-f redis/service-sentinel.yaml \
-f redis/service-redisproxy.yaml \
-f phpmyadmin/configmap.yaml \
-f phpmyadmin/deployment.yaml \
-f phpmyadmin/service.yaml \
-f volumes/letsencrypt.yaml \
-f volumes/ssl.yaml \
-f volumes/website.yaml \
-f openemr/secret.yaml \
-f openemr/deployment.yaml \
-f openemr/service.yaml