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

Merge pull request 'OZG-4391 OZG-4462 add helm chart support for smart...

Merge pull request 'OZG-4391 OZG-4462 add helm chart support for smart documents config' (#316) from OZG-4391-add-helm-chart-values into master

Reviewed-on: https://git.ozg-sh.de/mgm/goofy/pulls/316
parents 5c1b88d4 b2973e1e
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,15 @@ spec:
{{- with (.Values.env).customList }}
{{ toYaml . | indent 8 }}
{{- end }}
{{- if ((.Values.ozgcloud).vorgang).bescheid}}
{{- range $index, $bescheid := ((.Values.ozgcloud).vorgang).bescheid }}
- name: ozgcloud_vorgang_bescheid_{{ $index }}_formId
value: {{ $bescheid.formId }}
- name: ozgcloud_vorgang_bescheid_{{ $index }}_formEngineName
value: {{ $bescheid.formEngineName }}
{{- end }}
{{- end}}
image: "{{ .Values.image.repo }}/{{ .Values.image.name }}:{{ coalesce (.Values.image).tag "latest" }}"
imagePullPolicy: Always
name: goofy
......
......@@ -50,6 +50,7 @@ tests:
content:
name: spring_profiles_active
value: oc, test
- it: should have service binding root
set:
usermanagerName: user-manager
......@@ -59,7 +60,8 @@ tests:
content:
name: SERVICE_BINDING_ROOT
value: "/bindings"
- it: should have user assitance documentation url
- it: should have user assistance documentation url
templates:
- templates/deployment.yaml
set:
......@@ -70,3 +72,36 @@ tests:
content:
name: ozgcloud_user-assistance_documentation_url
value: http://
- it: should have create Bescheid Konfiguration
templates:
- templates/deployment.yaml
set:
ozgcloud:
vorgang:
bescheid:
- formEngineName: AFM
formId: form_id_1
- formEngineName: FormSolutions
formId: form_id_2
asserts:
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_vorgang_bescheid_0_formId
value: form_id_1
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_vorgang_bescheid_0_formEngineName
value: AFM
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_vorgang_bescheid_1_formId
value: form_id_2
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_vorgang_bescheid_1_formEngineName
value: FormSolutions
\ 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