cw-infra-apps/grafana/charts/feature-cluster-events/tests/namespace_test.yaml

15 lines
398 B
YAML

# yamllint disable rule:document-start rule:line-length rule:trailing-spaces
suite: Test namespaces
templates:
- configmap.yaml
tests:
- it: should create a ConfigMap that restricts events to the given namespaces
set:
deployAsConfigMap: true
namespaces: ["a", "b"]
asserts:
- isKind:
of: ConfigMap
- matchSnapshot:
path: data["module.alloy"]