Adding -f flag to fit with new kubectl versions

This commit is contained in:
Óscar Muñoz Garrigós
2019-02-05 11:32:44 +01:00
committed by GitHub
parent c01be8de06
commit 43b9680a96

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
kubectl apply -n monitoring custom-metrics-apiserver-resource-reader-cluster-role-binding.yaml
kubectl apply -n monitoring custom-metrics-apiservice.yaml
kubectl apply -n monitoring custom-metrics-cluster-role.yaml
kubectl apply -n monitoring custom-metrics-configmap.yaml
kubectl apply -n monitoring hpa-custom-metrics-cluster-role-binding.yaml
kubectl apply -n monitoring -f custom-metrics-apiserver-resource-reader-cluster-role-binding.yaml
kubectl apply -n monitoring -f custom-metrics-apiservice.yaml
kubectl apply -n monitoring -f custom-metrics-cluster-role.yaml
kubectl apply -n monitoring -f custom-metrics-configmap.yaml
kubectl apply -n monitoring -f hpa-custom-metrics-cluster-role-binding.yaml