Skip to content
Snippets Groups Projects
Commit 6fbbc36f authored by OZGCloud's avatar OZGCloud
Browse files

Merge pull request 'OZG-3369 add helm formcycle flavor' (#33) from...

Merge pull request 'OZG-3369 add helm formcycle flavor' (#33) from OZG-3369-helm-formcycle-flavor into master

Reviewed-on: https://git.ozg-sh.de/mgm/intelliform-adapter/pulls/33
parents 924b7b43 4fc25792
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,8 @@ app.kubernetes.io/namespace: {{ include "app.namespace" . }}
{{- define "app.ingress.host" }}
{{- if eq (.Values.image).name "formsolutions-adapter" }}
{{- printf "%s-fs.%s" (include "app.kopBezeichner" .) .Values.baseUrl }}
{{- else if eq (.Values.image).name "formcycle-adapter" }}
{{- printf "%s-formcycle.%s" (include "app.kopBezeichner" .) .Values.baseUrl }}
{{- else }}
{{- printf "%s-afm.%s" (include "app.kopBezeichner" .) .Values.baseUrl }}
{{- end }}
......
......@@ -79,6 +79,19 @@ tests:
- equal:
path: spec.tls[0].hosts[0]
value: helm-fs.test.sh.ozg-cloud.de
- it: should create formcycle host
set:
image.name: formcycle-adapter
asserts:
- equal:
path: spec.rules[0].host
value: helm-formcycle.test.sh.ozg-cloud.de
- equal:
path: spec.tls[0].hosts[0]
value: helm-formcycle.test.sh.ozg-cloud.de
- it: should use letsencrypt-prod cluster-issuer as default
asserts:
- equal:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment