KubeZero/charts/kubezero-metrics/delete_kube-prometheus.sh

10 lines
271 B
Bash
Executable File

#!/bin/bash
[ -f istio-authorization-policy.yaml ] && kubectl delete -f istio-authorization-policy.yaml
[ -f istio-service.yaml ] && kubectl delete -f istio-service.yaml
kubectl delete -f manifests
kubectl delete -f manifests/setup
kubectl delete namespace monitoring