mirror of
https://github.com/openappsec/openappsec.git
synced 2025-06-28 16:41:02 +03:00
18 lines
473 B
YAML
18 lines
473 B
YAML
suite: Controller > KEDA
|
|
templates:
|
|
- controller-keda.yaml
|
|
|
|
tests:
|
|
- it: should create a ScaledObject if `controller.kind` is "Deployment" and `controller.keda.enabled` is true
|
|
set:
|
|
controller.kind: Deployment
|
|
controller.keda.enabled: true
|
|
asserts:
|
|
- hasDocuments:
|
|
count: 1
|
|
- isKind:
|
|
of: ScaledObject
|
|
- equal:
|
|
path: metadata.name
|
|
value: RELEASE-NAME-open-appsec-k8s-nginx-ingress-controller
|