We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3161773 + 4a177eb commit 4aa2fa5Copy full SHA for 4aa2fa5
deploy/charts/version-checker/templates/dashboards.yaml
@@ -8,7 +8,7 @@ metadata:
8
labels:
9
{{- include "version-checker.labels" . | nindent 4 }}
10
{{- if .Values.dashboards.labels }}
11
- {{- .Values.dashboards.labels | toYaml | nindent 4 }}
+ {{ .Values.dashboards.labels | toYaml | nindent 4}}
12
{{- end }}
13
data:
14
internal.json: |-
deploy/charts/version-checker/tests/dashboards_test.yaml
@@ -21,6 +21,16 @@ tests:
21
- isNotEmpty:
22
path: .data["internal.json"]
23
24
+ - it: works w/ custom labels
25
+ set:
26
+ dashboards.labels:
27
+ grafana: "123"
28
+ asserts:
29
+ - isKind:
30
+ of: ConfigMap
31
+ - hasDocuments:
32
+ count: 1
33
+
34
- it: Works w/ GrafanaDashboard
35
capabilities:
36
apiVersions:
0 commit comments