File tree Expand file tree Collapse file tree 6 files changed +44
-2
lines changed
Expand file tree Collapse file tree 6 files changed +44
-2
lines changed Original file line number Diff line number Diff line change 66DOCKER_HELM_UNITITEST_IMAGE := helmunittest/helm-unittest:3.16.1-0.6.3
77LOCAL_UNIT_TEST := $(HOME ) /source/self/go-workshop/helm-unittest-tmp/untt
88
9- ISSUE := issue-471
9+ ISSUE := issue-497
1010
1111SUPPORTED := chart \
1212 issue-156 \
@@ -35,7 +35,8 @@ SUPPORTED := chart \
3535 issue-x \
3636 issue-351 \
3737 issue-457 \
38- issue-471
38+ issue-471 \
39+ issue-497
3940
4041FILTER_FOLDER := $(filter $(folder ) ,$(SUPPORTED ) )
4142
Original file line number Diff line number Diff line change 1+ apiVersion : v2
2+ description : An example chart with customized subchart
3+ name : with-subchart
4+ version : 0.1.0
5+ issueLink : https://github.com/helm-unittest/helm-unittest/issues/497
6+ supportedLinks :
7+ - https://github.com/helm-unittest/helm-unittest/issues/497
Original file line number Diff line number Diff line change 1+
2+ # - matchSnapshot: {}
Original file line number Diff line number Diff line change 1+ {{- if .Values.node.enabled }}
2+ apiVersion : v1
3+ kind : Service
4+ metadata :
5+ name : {{ .Release.Name }}-{{ .Values.node.name }}-http
6+ {{- end}}
7+
Original file line number Diff line number Diff line change 1+ suite : test wardend service
2+ templates :
3+ - service.yaml
4+ tests :
5+ - it : " should create Service if node is enabled"
6+ set :
7+ node :
8+ enabled : true
9+ asserts :
10+ - hasDocuments :
11+ count : 1
12+ - isKind :
13+ of : Service
14+ - isMatch :
15+ path : metadata.name
16+ pattern : " .*-http"
Original file line number Diff line number Diff line change 1+ hosts :
2+ - chart-example.local
3+ - chart-example.remote
4+
5+ hostsMap :
6+ - name : value0
7+ attribute : attribute0
8+ - name : value1
9+ attribute : attribute1
You can’t perform that action at this time.
0 commit comments