Chart: Use generic values for ConfigMap
test. (#11879)
This commit is contained in:
parent
27697abbcb
commit
2e208230df
1 changed files with 8 additions and 8 deletions
|
@ -16,16 +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:
|
||||||
global-rate-limit-memcached-host: "memcached.{{ .Release.Namespace }}.svc.kubernetes.local"
|
template: "test.{{ .Release.Namespace }}.svc.kubernetes.local"
|
||||||
global-rate-limit-memcached-port: 11211
|
integer: 12345
|
||||||
use-gzip: true
|
boolean: true
|
||||||
asserts:
|
asserts:
|
||||||
- equal:
|
- equal:
|
||||||
path: data.global-rate-limit-memcached-host
|
path: data.template
|
||||||
value: memcached.NAMESPACE.svc.kubernetes.local
|
value: test.NAMESPACE.svc.kubernetes.local
|
||||||
- equal:
|
- equal:
|
||||||
path: data.global-rate-limit-memcached-port
|
path: data.integer
|
||||||
value: "11211"
|
value: "12345"
|
||||||
- equal:
|
- equal:
|
||||||
path: data.use-gzip
|
path: data.boolean
|
||||||
value: "true"
|
value: "true"
|
||||||
|
|
Loading…
Reference in a new issue