디렉토리 구조 및 각 서비스 추가
This commit is contained in:
19
helm/jenkins/unittests/config-init-scripts-test.yaml
Normal file
19
helm/jenkins/unittests/config-init-scripts-test.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
suite: ConfigMap
|
||||
templates:
|
||||
- config-init-scripts.yaml
|
||||
tests:
|
||||
- it: config templates
|
||||
set:
|
||||
some.val: val here
|
||||
controller.initScripts:
|
||||
test: |-
|
||||
my script here {{ .Values.some.val }}
|
||||
asserts:
|
||||
- isKind:
|
||||
of: ConfigMap
|
||||
- hasDocuments:
|
||||
count: 1
|
||||
- equal:
|
||||
path: data.inittest\.groovy
|
||||
value: |-
|
||||
my script here val here
|
||||
Reference in New Issue
Block a user