Skip to content
Snippets Groups Projects
Commit 2f8ec313 authored by Krzysztof Witukiewicz's avatar Krzysztof Witukiewicz
Browse files

Revert "OZG-7811 OZG-8114 Support mandant-value in helm-template"

This reverts commit 3a0d2ee0.
parent 3a0d2ee0
No related branches found
No related tags found
1 merge request!23Ozg 7811 vorgaenge zur landesebene schicken
...@@ -75,10 +75,6 @@ spec: ...@@ -75,10 +75,6 @@ spec:
- name: ozgcloud_administration_address - name: ozgcloud_administration_address
value: {{ include "app.getOzgcloudAdministrationAddress" . }} value: {{ include "app.getOzgcloudAdministrationAddress" . }}
{{- end }} {{- end }}
{{- if .Values.mandant }}
- name: ozgcloud_mandant
value: {{ .Values.mandant }}
{{- end }}
{{- with include "app.getCustomList" . }} {{- with include "app.getCustomList" . }}
{{ . | indent 14 }} {{ . | indent 14 }}
{{- end }} {{- end }}
......
...@@ -129,28 +129,6 @@ tests: ...@@ -129,28 +129,6 @@ tests:
name: ozgcloud_administration_address name: ozgcloud_administration_address
value: http://test-administration:8080 value: http://test-administration:8080
- it: should not set mandant per default
set:
ozgcloud:
environment: dev
asserts:
- notContains:
path: spec.jobTemplate.spec.template.spec.containers[0].env
content:
name: ozgcloud_mandant
any: true
- it: should set mandant
set:
mandant: dummy mandant value
ozgcloud:
environment: dev
asserts:
- contains:
path: spec.jobTemplate.spec.template.spec.containers[0].env
content:
name: ozgcloud_mandant
value: "dummy mandant value"
- it: should fail template when env not set - it: should fail template when env not set
set: set:
asserts: asserts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment