Skip to content

Commit 629ed80

Browse files
committed
fix(grafana): add annotation support (for folder sidecar)
1 parent 975ac46 commit 629ed80

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

charts/mollysocket/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ description: Deploy MollySocket into Kubernetes
44

55
type: application
66

7-
version: 0.2.0
7+
version: 0.2.1
88

99
appVersion: "0.2.1"

charts/mollysocket/templates/configmap_grafana_dashboards.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ metadata:
88
labels:
99
{{- include "mollysocket.labels" $ | nindent 4 }}
1010
{{- toYaml $.Values.grafana.dashboards.labels | nindent 4 }}
11+
annotations:
12+
{{- toYaml $.Values.grafana.dashboards.annotations | nindent 4 }}
1113
data:
1214
{{- ($.Files.Glob $path ).AsConfig | nindent 2 }}
1315
{{- end }}

charts/mollysocket/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ grafana:
6464
enabled: false
6565
labels:
6666
grafana_dashboard: "1"
67+
annotations: {}
6768

6869
serviceAccount:
6970
# Specifies whether a service account should be created

0 commit comments

Comments
 (0)