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

@ -10,7 +10,7 @@ values:
tests:
- it: default metadata should pass
asserts:
- documentIndex: &IngressDocument 2
- documentIndex: &IngressDocument 1
isKind:
of: Ingress
- documentIndex: *IngressDocument
@ -33,7 +33,7 @@ tests:
labels:
test_label: test
asserts:
- documentIndex: &IngressDocument 2
- documentIndex: &IngressDocument 1
isKind:
of: Ingress
- documentIndex: *IngressDocument
@ -64,7 +64,7 @@ tests:
labels:
test_label: test
asserts:
- documentIndex: &IngressDocument 2
- documentIndex: &IngressDocument 1
isKind:
of: Ingress
- documentIndex: *IngressDocument

View file

@ -7,15 +7,11 @@ tests:
- it: default should pass
asserts:
- hasDocuments:
count: 2
count: 1
- documentIndex: 0
not: true
isKind:
of: Ingress
- documentIndex: 1
not: true
isKind:
of: Ingress
- it: explicitly disabled should pass
values:
@ -24,15 +20,11 @@ tests:
ingress.main.enabled: false
asserts:
- hasDocuments:
count: 2
count: 1
- documentIndex: 0
not: true
isKind:
of: Ingress
- documentIndex: 1
not: true
isKind:
of: Ingress
- it: explicitly enabled should pass
values:
@ -41,16 +33,12 @@ tests:
ingress.main.enabled: true
asserts:
- hasDocuments:
count: 3
count: 2
- documentIndex: 0
not: true
isKind:
of: Ingress
- documentIndex: 1
not: true
isKind:
of: Ingress
- documentIndex: 2
isKind:
of: Ingress
@ -68,23 +56,19 @@ tests:
port: http
asserts:
- hasDocuments:
count: 4
count: 3
- documentIndex: 0
not: true
isKind:
of: Ingress
- documentIndex: 1
not: true
isKind:
of: Ingress
- documentIndex: &FirstIngressDocument 2
- documentIndex: &FirstIngressDocument 1
isKind:
of: Ingress
- documentIndex: *FirstIngressDocument
equal:
path: metadata.name
value: RELEASE-NAME
- documentIndex: &SecondIngressDocument 3
value: RELEASE-NAME-main
- documentIndex: &SecondIngressDocument 2
isKind:
of: Ingress
- documentIndex: *SecondIngressDocument
@ -107,16 +91,12 @@ tests:
port: http
asserts:
- hasDocuments:
count: 3
count: 2
- documentIndex: 0
not: true
isKind:
of: Ingress
- documentIndex: 1
not: true
isKind:
of: Ingress
- documentIndex: &FirstIngressDocument 2
- documentIndex: &FirstIngressDocument 1
isKind:
of: Ingress
- documentIndex: *FirstIngressDocument

View file

@ -9,6 +9,13 @@ values:
tests:
- it: default should pass
set:
service:
main:
controller: main
ports:
http:
port: &httpPort 8081
asserts:
- documentIndex: &IngressDocument 2
isKind:
@ -20,7 +27,7 @@ tests:
service:
name: RELEASE-NAME
port:
number: 8080
number: *httpPort
- it: custom service reference should pass
set:
@ -33,7 +40,7 @@ tests:
name: pathService
port: 1234
asserts:
- documentIndex: &IngressDocument 2
- documentIndex: &IngressDocument 1
isKind:
of: Ingress
- documentIndex: *IngressDocument
@ -49,6 +56,7 @@ tests:
set:
service:
main:
controller: main
ports:
http:
port: &httpPort 8081

View file

@ -10,7 +10,7 @@ values:
tests:
- it: default should pass
asserts:
- documentIndex: &IngressDocument 2
- documentIndex: &IngressDocument 1
isKind:
of: Ingress
- documentIndex: *IngressDocument
@ -25,7 +25,7 @@ tests:
hosts:
- hostname
asserts:
- documentIndex: &IngressDocument 2
- documentIndex: &IngressDocument 1
isKind:
of: Ingress
- documentIndex: *IngressDocument
@ -43,7 +43,7 @@ tests:
- hosts:
- hostname
asserts:
- documentIndex: &IngressDocument 2
- documentIndex: &IngressDocument 1
isKind:
of: Ingress
- documentIndex: *IngressDocument
@ -61,7 +61,7 @@ tests:
hosts:
- hostname
asserts:
- documentIndex: &IngressDocument 2
- documentIndex: &IngressDocument 1
isKind:
of: Ingress
- documentIndex: *IngressDocument
@ -80,7 +80,7 @@ tests:
hosts:
- hostname
asserts:
- documentIndex: &IngressDocument 2
- documentIndex: &IngressDocument 1
isKind:
of: Ingress
- documentIndex: *IngressDocument

View file

@ -10,7 +10,7 @@ values:
tests:
- it: default should pass
asserts:
- documentIndex: &IngressDocument 2
- documentIndex: &IngressDocument 1
isKind:
of: Ingress
- documentIndex: *IngressDocument
@ -32,7 +32,7 @@ tests:
service:
name: main
asserts:
- documentIndex: &IngressDocument 2
- documentIndex: &IngressDocument 1
isKind:
of: Ingress
- documentIndex: *IngressDocument
@ -55,7 +55,7 @@ tests:
name: main
port: http
asserts:
- documentIndex: &IngressDocument 2
- documentIndex: &IngressDocument 1
isKind:
of: Ingress
- documentIndex: *IngressDocument
@ -73,7 +73,7 @@ tests:
service:
name: main
asserts:
- documentIndex: &IngressDocument 2
- documentIndex: &IngressDocument 1
isKind:
of: Ingress
- documentIndex: *IngressDocument
@ -86,7 +86,7 @@ tests:
ingress.main:
defaultBackend: test
asserts:
- documentIndex: &IngressDocument 2
- documentIndex: &IngressDocument 1
isKind:
of: Ingress
- documentIndex: *IngressDocument