File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ local crdbSqlDash = import 'grafana_dashboards/crdb-sql-grafana.json';
55local crdbStorageDash = import 'grafana_dashboards/crdb-storage-grafana.json' ;
66local promOverview = import 'grafana_dashboards/prometheus-overview.json' ;
77local kubeOverview = import 'grafana_dashboards/kubernetes-overview.json' ;
8+ local dssDash = import 'grafana_dashboards/dss.json' ;
89local util = import 'util.libsonnet' ;
910{
1011 all(metadata): {
@@ -39,6 +40,11 @@ local util = import 'util.libsonnet';
3940 'kubernetes-overview.json' : std.toString (kubeOverview),
4041 },
4142 },
43+ grafDss: base.ConfigMap(metadata, 'grafana-dss' ) {
44+ data: {
45+ 'dss.json' : std.toString (dssDash),
46+ },
47+ },
4248 },
4349 volumeConfigs: {
4450 grafCrdbReplica: {
@@ -83,6 +89,13 @@ local util = import 'util.libsonnet';
8389 name: 'grafana-kube-overview' ,
8490 },
8591 },
92+ grafDss: {
93+ name: 'grafana-dss' ,
94+ configMap: {
95+ defaultMode: 420 ,
96+ name: 'grafana-dss' ,
97+ },
98+ },
8699 },
87100 volumes: util.mapToList(self .volumeConfigs),
88101 mountConfigs: {
@@ -116,6 +129,11 @@ local util = import 'util.libsonnet';
116129 readOnly: false ,
117130 mountPath: '/var/lib/grafana/dashboards/grafana-kube-overview' ,
118131 },
132+ grafDss: {
133+ name: 'grafana-dss' ,
134+ readOnly: false ,
135+ mountPath: '/var/lib/grafana/dashboards/grafana-dss' ,
136+ },
119137 },
120138 mount: util.mapToList(self .mountConfigs),
121139 },
You can’t perform that action at this time.
0 commit comments