ingress-nginx-helm/charts/ingress-nginx/tests/controller-configmap_test.yaml
2024-08-25 21:03:29 +01:00

23 lines
545 B
YAML

suite: Controller > ConfigMap
templates:
- controller-configmap.yaml
tests:
- it: should create a ConfigMap
asserts:
- hasDocuments:
count: 1
- isKind:
of: ConfigMap
- equal:
path: metadata.name
value: RELEASE-NAME-ingress-nginx-controller
- it: should create a ConfigMap with templated values if `controller.config` contains templates
set:
controller.config:
use-gzip: true
asserts:
- equal:
path: data.use-gzip
value: "true"