Verified Commit b03fe074 authored by Xueshan Feng's avatar Xueshan Feng
Browse files

use grafana/config.yaml to set persistent disks.

parent f2b7e292
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -194,9 +194,8 @@ delete-prometheus : ## Delete prometheus
########################
.PHONY: grafana
grafana:  ## Deploy grafana
	@helm install --name grafana --namespace svc-monitoring  \
		--set persistence.storageClassName=${AWS_DEFAULT_SC} \
		--set persistend=true \
	@cat ${TEMPLATES}/grafana/config.yaml | envsubst | \
	helm install --name grafana --namespace svc-monitoring  -f - \
		 stable/grafana

.PHONY: upgrade-grafana