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.
1 parent 986fbff commit 2934c5dCopy full SHA for 2934c5d
issue-471/templates/simple.yaml
@@ -1,5 +1,6 @@
1
anArray: {{ .Values.hosts }}
2
anArrayValues:
3
+ rules:
4
{{- range $host := .Values.hosts }}
5
- host: {{ $host }}
6
{{- end }}
issue-471/tests/simple_test.yaml
@@ -1,7 +1,20 @@
suite: just a test
templates:
-- template.yaml
-chart:
- version: 1.2.3
+- simple.yaml
tests:
7
- it: paradox
+ template: simple.yaml
+ set:
8
+ hosts[1]: hotpatch
9
+ asserts:
10
+ - notEqual:
11
+ path: anArrayValues.rules[0].host
12
+ value: null
13
+ - equal:
14
+ path: anArrayValues.rules
15
+ value:
16
+ - host: null
17
+ - host: hotpatch1
18
19
+ path: anArrayValues.rules[1].host
20
+ value: hotpatch
0 commit comments