From 0c1c8b20cdd995b9e94c1f68fd0b9a1376997ea3 Mon Sep 17 00:00:00 2001 From: Camil Blanaru Date: Thu, 23 Aug 2018 03:01:28 +0300 Subject: [PATCH] Fix deployments on bare metal --- deploy | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy b/deploy index 570bd0c..859309b 100755 --- a/deploy +++ b/deploy @@ -121,8 +121,9 @@ do ;; "Custom") echo "Deploying on custom providers without persistence" - sed -i -e '1,10d;34,47d' manifests/prometheus/prometheus-k8s.yaml; - sed -i -e '1,12d;47,49d;91,93d' manifests/grafana/grafana.de.yaml; + sed -i -e '1,8d;32,45d' manifests/prometheus/prometheus-k8s.yaml; + rm -rf manifests/grafana/grafana.pvc.yaml + sed -i -e '31,34d;77,79d' manifests/grafana/grafana.de.yaml; break ;; *) echo invalid option;;