From 0ca6dbc33717bbca5a38583bf771bc4dfcad43f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20Mu=C3=B1oz=20Garrig=C3=B3s?= <osmuogar@gmail.com> Date: Tue, 5 Feb 2019 13:26:55 +0100 Subject: [PATCH] Adding -f flag to fit with new kubectl versions --- experimental/custom-metrics-api/teardown.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/experimental/custom-metrics-api/teardown.sh b/experimental/custom-metrics-api/teardown.sh index a62f685e..b3a455f5 100644 --- a/experimental/custom-metrics-api/teardown.sh +++ b/experimental/custom-metrics-api/teardown.sh @@ -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 -- GitLab