feat(common)!: Release common-3.0.0 (#284)

This commit is contained in:
Bernd Schorgers 2024-03-11 10:28:52 +01:00 committed by GitHub
parent a27c4f6124
commit 3981facca6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 124 additions and 116 deletions

View file

@ -52,6 +52,29 @@ tests:
port:
number: 1234
- it: custom service reference with template should pass
set:
ingress.main:
hosts:
- host: chart-test.local
paths:
- path: /
service:
name: "{{ .Release.Name }}"
port: 1234
asserts:
- documentIndex: &IngressDocument 1
isKind:
of: Ingress
- documentIndex: *IngressDocument
equal:
path: spec.rules[0].http.paths[0].backend
value:
service:
name: RELEASE-NAME
port:
number: 1234
- it: multiple hosts with port name references should pass
set:
service:
@ -72,14 +95,14 @@ tests:
- path: /
pathType: Prefix
service:
name: main
identifier: main
port: http
- host: http2.chart-test.local
paths:
- path: /
pathType: Prefix
service:
name: main
identifier: main
port: http2
asserts:
- documentIndex: &IngressDocument 2