Fix bug 964: Duplicated dashboards. Set fixed port for Grafana
Change-Id: I7534cf2ae0ef60729634e31da8af390e14e9d730
Signed-off-by: romeromonser <garomero@indra.es>
diff --git a/installers/k8s/change-charts-prometheus-operator.sh b/installers/k8s/change-charts-prometheus-operator.sh
index 7ac07dd..5fcf67a 100755
--- a/installers/k8s/change-charts-prometheus-operator.sh
+++ b/installers/k8s/change-charts-prometheus-operator.sh
@@ -75,4 +75,9 @@
rm $i
done
+# Deleting Grafana dependence to avoid it installation
+sed -i -e '/.*- name: grafana.*/,+3d' $CHARTS_DIR/prometheus-operator/requirements.yaml
+sed -i -e '/.*- name: grafana.*/,+2d' $CHARTS_DIR/prometheus-operator/requirements.lock
+rm -rf $CHARTS_DIR/prometheus-operator/charts/grafana
+
exit 0