Skip to content
Snippets Groups Projects
Commit 0ca6dbc3 authored by Óscar Muñoz Garrigós's avatar Óscar Muñoz Garrigós Committed by GitHub
Browse files

Adding -f flag to fit with new kubectl versions

parent 8667c51a
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash #!/usr/bin/env bash
kubectl delete -n monitoring custom-metrics-apiserver-resource-reader-cluster-role-binding.yaml kubectl delete -n monitoring -f custom-metrics-apiserver-resource-reader-cluster-role-binding.yaml
kubectl delete -n monitoring custom-metrics-apiservice.yaml kubectl delete -n monitoring -f custom-metrics-apiservice.yaml
kubectl delete -n monitoring custom-metrics-cluster-role.yaml kubectl delete -n monitoring -f custom-metrics-cluster-role.yaml
kubectl delete -n monitoring custom-metrics-configmap.yaml kubectl delete -n monitoring -f custom-metrics-configmap.yaml
kubectl delete -n monitoring hpa-custom-metrics-cluster-role-binding.yaml kubectl delete -n monitoring -f hpa-custom-metrics-cluster-role-binding.yaml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment