File tree Expand file tree Collapse file tree 5 files changed +26
-17
lines changed
Expand file tree Collapse file tree 5 files changed +26
-17
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ SUPPORTED := chart \
3939 issue-499 \
4040 issue-504
4141
42- ISSUE := issue-504
42+ ISSUE := issue-499
4343
4444FILTER_FOLDER := $(filter $(folder ) ,$(SUPPORTED ) )
4545
@@ -121,7 +121,7 @@ unit-test-plugin: ## Execute Unit tests locally with plugin --debugPlugin
121121
122122unit-test-local : # # Execute Unit tests with locally build (--debugPlugin)
123123 $(info Running unit tests for $(ISSUE ) ...)
124- @$(LOCAL_UNIT_TEST ) -f ' tests/*.yaml' $(ISSUE )
124+ @$(LOCAL_UNIT_TEST ) -f ' tests/*.yaml' --debugPlugin $(ISSUE )
125125
126126unit-test-current : # # Execute Unit tests with locally build (--debugPlugin)
127127 @$(LOCAL_UNIT_TEST ) -f ' tests/*.yaml' --coverage $(ISSUE )
Original file line number Diff line number Diff line change 4444[ governance.link-checker.status ] : https://github.com/ik-workshop/helm-unittests-issues/actions/workflows/governance.links-checker.yml
4545
4646` runAsNonRoot ` is set to ` false ` but ` runAsUser ` is not set to ` 0 `
47+
48+ # - failedTemplate:
49+ # errorMessage: "`runAsNonRoot` is set to `true` but `runAsUser` is set to `0` (root)"
50+ # - failedTemplate:
51+ # errorMessage: "\\\(root\\\)"
52+ # - failedTemplate:
53+ # errorPattern: |-
54+ # \\(root\\)
55+
56+ - failedTemplate:
57+ errorPattern: "`runAsNonRoot` is set to `true` but `runAsUser` is set to `0` (root)"
58+ - failedTemplate:
59+ errorMessage: "`runAsNonRoot` is set to `true` but `runAsUser` is set to `0` (root)"
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ suite : Test empty template
2+ templates :
3+ - validation.tpl
4+ tests :
5+ - it : should fail when No failed document
6+ asserts :
7+ - failedTemplate :
8+ errorPattern : |-
9+ `runAsNonRoot` is set to `true` but `runAsUser` is set to `0` \(root\)
10+ - failedTemplate :
11+ errorMessage : " `runAsNonRoot` is set to `true` but `runAsUser` is set to `0` (root)"
You can’t perform that action at this time.
0 commit comments