feat(common): Release common-3.0.2

This commit is contained in:
Bernd Schorgers 2024-03-11 21:33:52 +01:00
parent 1e00c7f252
commit e20623adf9
No known key found for this signature in database
GPG key ID: BC5E2BD907F9A8EC
16 changed files with 127 additions and 22 deletions

View file

@ -23,6 +23,32 @@ tests:
path: spec.rules[0].http.paths[0].path
value: "/"
- it: nameOverride should pass
set:
ingress.main:
nameOverride: test
asserts:
- documentIndex: &IngressDocument 2
isKind:
of: Ingress
- documentIndex: *IngressDocument
equal:
path: metadata.name
value: RELEASE-NAME-test
- it: nameOverride with template should pass
set:
ingress.main:
nameOverride: "{{ .Release.Name }}"
asserts:
- documentIndex: &IngressDocument 2
isKind:
of: Ingress
- documentIndex: *IngressDocument
equal:
path: metadata.name
value: RELEASE-NAME
- it: custom host and path should pass
set:
ingress.main: