feat(common)!: Release v3.0.0-beta2 (#280)

This commit is contained in:
Bernd Schorgers 2024-03-08 08:51:40 +01:00 committed by GitHub
parent 23ae8131da
commit 21e751bc16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
51 changed files with 419 additions and 368 deletions

View file

@ -8,13 +8,11 @@ tests:
- it: main networkpolicy is disabled by default
asserts:
- hasDocuments:
count: 2
count: 1
- documentIndex: 0
not: true
isKind:
of: Deployment
- documentIndex: 1
isKind:
of: Service
of: NetworkPolicy
- it: main networkpolicy can be enabled
set:
@ -26,14 +24,11 @@ tests:
rules: {}
asserts:
- hasDocuments:
count: 3
count: 2
- documentIndex: 0
isKind:
of: Deployment
- documentIndex: 1
isKind:
of: Service
- documentIndex: 2
isKind:
of: NetworkPolicy
@ -47,7 +42,7 @@ tests:
- Egress
rules: {}
asserts:
- documentIndex: &NetworkPolicyDocument 2
- documentIndex: &NetworkPolicyDocument 1
isKind:
of: NetworkPolicy
- documentIndex: *NetworkPolicyDocument
@ -70,7 +65,7 @@ tests:
podSelector: {}
rules: {}
asserts:
- documentIndex: &NetworkPolicyDocument 2
- documentIndex: &NetworkPolicyDocument 1
isKind:
of: NetworkPolicy
- documentIndex: *NetworkPolicyDocument
@ -92,7 +87,7 @@ tests:
egress:
- {}
asserts:
- documentIndex: &NetworkPolicyDocument 2
- documentIndex: &NetworkPolicyDocument 1
isKind:
of: NetworkPolicy
- documentIndex: *NetworkPolicyDocument