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

OZG-7078 set barrierefreiheitUrl container env from helm values

Sub task: OZG-7267
parent a34893e7
No related branches found
No related tags found
No related merge requests found
...@@ -117,6 +117,10 @@ spec: ...@@ -117,6 +117,10 @@ spec:
- name: ozgcloud_feature_collaborationEnabled - name: ozgcloud_feature_collaborationEnabled
value: {{ ((.Values.ozgcloud).feature).collaborationEnabled | quote }} value: {{ ((.Values.ozgcloud).feature).collaborationEnabled | quote }}
{{- end }} {{- end }}
{{- if (.Values.ozgcloud).barrierefreiheitUrl }}
- name: ozgcloud_barrierefreiheitUrl
value: {{ (.Values.ozgcloud).barrierefreiheitUrl }}
{{- end }}
image: "{{ .Values.image.repo }}/{{ .Values.image.name }}:{{ coalesce (.Values.image).tag "latest" }}" image: "{{ .Values.image.repo }}/{{ .Values.image.name }}:{{ coalesce (.Values.image).tag "latest" }}"
imagePullPolicy: Always imagePullPolicy: Always
......
...@@ -64,3 +64,13 @@ tests: ...@@ -64,3 +64,13 @@ tests:
content: content:
name: grpc_client_zufi-manager_negotiationType name: grpc_client_zufi-manager_negotiationType
value: TLS value: TLS
- it: should have barrierefreiheitUrl
set:
ozgcloud:
barrierefreiheitUrl: http://barrierefreiheit.url
asserts:
- contains:
path: spec.template.spec.containers[0].env
content:
name: ozgcloud_barrierefreiheitUrl
value: http://barrierefreiheit.url
\ 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