You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
346 B
14 lines
346 B
5 years ago
|
#!/bin/bash
|
||
|
|
||
|
# Stop the cluster.
|
||
|
cd cluster
|
||
|
|
||
|
helm template chart --namespace cluster --name cluster -f ../definitions/cluster_definition.yaml -f ssh-key.yaml | kubectl -n cluster delete -f -
|
||
|
|
||
|
# Delete the Kubernetes resources.
|
||
|
cd ..
|
||
|
|
||
|
kubectl delete -f definitions/account_definitions.yaml
|
||
|
|
||
|
kubectl delete -f definitions/namespace_definition.yaml
|