Skip to content
Snippets Groups Projects
Commit 37ab0cd2 authored by OZGCloud's avatar OZGCloud
Browse files

ozg-2642 new formsolutions domain

parent 5b60a3d4
Branches
Tags
No related merge requests found
......@@ -99,14 +99,14 @@ app.kubernetes.io/namespace: {{ include "app.namespace" . }}
{{- if eq (include "app.kopEnvironment" . ) "prod" }}
{{- if eq (.Values.image).name "formsolutions-adapter" }}
{{- printf "%s-fs.ozg-sh.de" (include "app.kopBezeichner" .) }}
{{- printf "%s.fs.ozg-sh.de" (include "app.kopBezeichner" .) }}
{{- else }}
{{- printf "%s.afm.ozg-sh.de" (include "app.kopBezeichner" .) }}
{{- end }}
{{- else if eq (include "app.kopEnvironment" . ) "stage" }}
{{- if eq (.Values.image).name "formsolutions-adapter" }}
{{- printf "%s-fs.stage.ozg-sh.de" (include "app.kopBezeichner" .) }}
{{- printf "%s.stage.fs.ozg-sh.de" (include "app.kopBezeichner" .) }}
{{- else }}
{{- printf "%s.stage.afm.ozg-sh.de" (include "app.kopBezeichner" .) }}
{{- end }}
......
......@@ -141,10 +141,10 @@ tests:
asserts:
- equal:
path: spec.rules[0].host
value: unit-fs.ozg-sh.de
value: unit.fs.ozg-sh.de
- equal:
path: spec.tls[0].hosts[0]
value: unit-fs.ozg-sh.de
value: unit.fs.ozg-sh.de
- it: should create fs stage host
set:
image.name: formsolutions-adapter
......@@ -153,7 +153,7 @@ tests:
asserts:
- equal:
path: spec.rules[0].host
value: unit-fs.stage.ozg-sh.de
value: unit.stage.fs.ozg-sh.de
- equal:
path: spec.tls[0].hosts[0]
value: unit-fs.stage.ozg-sh.de
\ No newline at end of file
value: unit.stage.fs.ozg-sh.de
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment