mirror of
https://github.com/openappsec/openappsec.git
synced 2025-06-28 16:41:02 +03:00
fix: Set kind to Vanilla in ingress-nginx tests, so they pass.
This commit is contained in:
parent
5452d68f9b
commit
aa8cfd1b2a
@ -6,6 +6,7 @@ tests:
|
|||||||
- it: should create a DaemonSet if `controller.kind` is "DaemonSet"
|
- it: should create a DaemonSet if `controller.kind` is "DaemonSet"
|
||||||
set:
|
set:
|
||||||
controller.kind: DaemonSet
|
controller.kind: DaemonSet
|
||||||
|
kind: Vanilla
|
||||||
asserts:
|
asserts:
|
||||||
- hasDocuments:
|
- hasDocuments:
|
||||||
count: 1
|
count: 1
|
||||||
|
@ -4,6 +4,8 @@ templates:
|
|||||||
|
|
||||||
tests:
|
tests:
|
||||||
- it: should create a Deployment
|
- it: should create a Deployment
|
||||||
|
set:
|
||||||
|
kind: Vanilla
|
||||||
asserts:
|
asserts:
|
||||||
- hasDocuments:
|
- hasDocuments:
|
||||||
count: 1
|
count: 1
|
||||||
@ -16,6 +18,7 @@ tests:
|
|||||||
- it: should create a Deployment with 3 replicas if `controller.replicaCount` is 3
|
- it: should create a Deployment with 3 replicas if `controller.replicaCount` is 3
|
||||||
set:
|
set:
|
||||||
controller.replicaCount: 3
|
controller.replicaCount: 3
|
||||||
|
kind: Vanilla
|
||||||
asserts:
|
asserts:
|
||||||
- equal:
|
- equal:
|
||||||
path: spec.replicas
|
path: spec.replicas
|
||||||
@ -25,6 +28,7 @@ tests:
|
|||||||
set:
|
set:
|
||||||
controller.resources.limits.cpu: 500m
|
controller.resources.limits.cpu: 500m
|
||||||
controller.resources.limits.memory: 512Mi
|
controller.resources.limits.memory: 512Mi
|
||||||
|
kind: Vanilla
|
||||||
asserts:
|
asserts:
|
||||||
- equal:
|
- equal:
|
||||||
path: spec.template.spec.containers[0].resources.limits.cpu
|
path: spec.template.spec.containers[0].resources.limits.cpu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user