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

OZG-4391 OZG-4462 add helm chart support for smart documents config

parent 5c1b88d4
Branches
Tags
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:
......@@ -69,4 +71,37 @@ tests:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_user-assistance_documentation_url
value: http://
\ No newline at end of file
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