File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
deploy/charts/version-checker Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ metadata:
8
8
labels :
9
9
{{- include "version-checker.labels" . | nindent 4 }}
10
10
{{- if .Values.dashboards.labels }}
11
- {{- .Values.dashboards.labels | toYaml }}
11
+ {{ .Values.dashboards.labels | toYaml | nindent 4 }}
12
12
{{- end }}
13
13
data :
14
14
internal.json : |-
Original file line number Diff line number Diff line change @@ -21,6 +21,19 @@ tests:
21
21
- isNotEmpty :
22
22
path : .data["internal.json"]
23
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
+ - equal :
34
+ path : metadata.labels.grafana
35
+ value : " 123"
36
+
24
37
- it : Works w/ GrafanaDashboard
25
38
capabilities :
26
39
apiVersions :
You can’t perform that action at this time.
0 commit comments