2020-10-20 10:34:41 +00:00
|
|
|
# Do not re-download images
|
|
|
|
# authored by Dmitry Skokov <d.skokov@rbkmoney.com>
|
2020-10-27 19:20:09 +00:00
|
|
|
helmfile delete \
|
|
|
|
&& kubectl delete deploy,rs,pvc,pv,svc,crd,ing,sts,job,cj,cm,secret,sa --all \
|
|
|
|
&& minikube ssh -- sudo rm -rf /tmp/hostpath-provisioner/default \
|
2020-10-20 10:34:41 +00:00
|
|
|
&& kubectl delete mutatingwebhookconfigurations,validatingwebhookconfigurations prometheus-prometheus-oper-admission || echo "prometheus webhooks already deleted" \
|
|
|
|
&& kubectl delete ns monitoring elastic-system || echo "namespaces not found" \
|
|
|
|
&& kubectl delete -f https://raw.githubusercontent.com/cilium/cilium/v1.8/install/kubernetes/quick-install.yaml || echo "cilium not found" \
|
|
|
|
&& kubectl apply -f https://raw.githubusercontent.com/cilium/cilium/v1.8/install/kubernetes/quick-install.yaml \
|
|
|
|
&& kubectl apply -f config/vault/init-cm.yaml
|