Feature 11010: Use of upstream helm charts for Prometheus and Grafana in OSM installa...
[osm/devops.git] / installers / helm / osm / templates / mon / mon-deployment.yaml
index 04bb6b2..4fcbd58 100644 (file)
@@ -78,6 +78,11 @@ spec:
           {{- end }}
           {{- if or .Values.vca.enabled .Values.mon.useOsmSecret }}
           env:
+            - name: OSMMON_GRAFANA_PASSWORD
+              valueFrom:
+                secretKeyRef:
+                  name: grafana
+                  key: admin-password
             {{- if .Values.vca.enabled }}
             - name: OSMMON_VCA_HOST
               valueFrom:
@@ -115,4 +120,4 @@ spec:
       tolerations:
         {{- toYaml . | nindent 8 }}
       {{- end }}
-{{- end }}
\ No newline at end of file
+{{- end }}