Skip to content

Commit

Permalink
Adding -f flag to fit with new kubectl versions
Browse files Browse the repository at this point in the history
  • Loading branch information
osmuogar authored Feb 5, 2019
1 parent 1f27647 commit 98ae6d7
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

kubectl delete -n monitoring custom-metrics-apiserver-resource-reader-cluster-role-binding.yaml
kubectl delete -n monitoring custom-metrics-apiservice.yaml
kubectl delete -n monitoring custom-metrics-cluster-role.yaml
kubectl delete -n monitoring custom-metrics-configmap.yaml
kubectl delete -n monitoring hpa-custom-metrics-cluster-role-binding.yaml
kubectl delete -n monitoring -f custom-metrics-apiserver-resource-reader-cluster-role-binding.yaml
kubectl delete -n monitoring -f custom-metrics-apiservice.yaml
kubectl delete -n monitoring -f custom-metrics-cluster-role.yaml
kubectl delete -n monitoring -f custom-metrics-configmap.yaml
kubectl delete -n monitoring -f hpa-custom-metrics-cluster-role-binding.yaml

0 comments on commit 98ae6d7

Please sign in to comment.