mirror of
https://gitlab.com/deepcypher/dc-kc.git
synced 2026-01-27 11:12:08 +00:00
Added further cleanup
This commit is contained in:
@@ -12,15 +12,19 @@ create:
|
||||
secret:
|
||||
kubectl create secret generic tunnel-credentials --from-file=credentials.json=/home/archer/.cloudflared/*.json --dry-run -o yaml > ${TUNNEL_NAME}-secret.yaml
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
cloudflared tunnel delete ${TUNNEL_NAME}
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
kubectl create namespace cloudflared
|
||||
kubectl apply -f ${TUNNEL_NAME}-secret.yaml
|
||||
helm install cloudflared . -n cloudflared
|
||||
|
||||
.PHONY: upgrade
|
||||
upgrade:
|
||||
helm upgrade cloudflared . -n cloudflared
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
cloudflared tunnel delete ${TUNNEL_NAME}
|
||||
helm uninstall cloudflared -n cloudflared
|
||||
kubectl delete namespace cloudflared
|
||||
|
||||
|
||||
Reference in New Issue
Block a user