Chart: Use generic values for ConfigMap
test. (#11877)
This commit is contained in:
parent
e9f6c8e8f2
commit
f6595f554a
1 changed files with 10 additions and 2 deletions
|
@ -16,8 +16,16 @@ tests:
|
||||||
- it: should create a ConfigMap with templated values if `controller.config` contains templates
|
- it: should create a ConfigMap with templated values if `controller.config` contains templates
|
||||||
set:
|
set:
|
||||||
controller.config:
|
controller.config:
|
||||||
use-gzip: true
|
template: "test.{{ .Release.Namespace }}.svc.kubernetes.local"
|
||||||
|
integer: 12345
|
||||||
|
boolean: true
|
||||||
asserts:
|
asserts:
|
||||||
- equal:
|
- equal:
|
||||||
path: data.use-gzip
|
path: data.template
|
||||||
|
value: test.NAMESPACE.svc.kubernetes.local
|
||||||
|
- equal:
|
||||||
|
path: data.integer
|
||||||
|
value: "12345"
|
||||||
|
- equal:
|
||||||
|
path: data.boolean
|
||||||
value: "true"
|
value: "true"
|
||||||
|
|
Loading…
Reference in a new issue