diff --git a/src/main/helm/templates/deployment.yaml b/src/main/helm/templates/deployment.yaml index dee4ff11986a60ffd249b81196fb6991df707d12..56cf8d1ddfb07bb62b2d40af8a67d031e9c3fef6 100644 --- a/src/main/helm/templates/deployment.yaml +++ b/src/main/helm/templates/deployment.yaml @@ -117,6 +117,10 @@ spec: - name: ozgcloud_feature_collaborationEnabled value: {{ ((.Values.ozgcloud).feature).collaborationEnabled | quote }} {{- 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" }}" imagePullPolicy: Always diff --git a/src/test/helm/deployment_collaboration_env_test.yaml b/src/test/helm/deployment_collaboration_env_test.yaml index 4cb772d0ee55c2dc51d332ecf415bc1526e2b8b2..b50af868a27c4725d3c0a716987a6773e3ff287c 100644 --- a/src/test/helm/deployment_collaboration_env_test.yaml +++ b/src/test/helm/deployment_collaboration_env_test.yaml @@ -63,4 +63,14 @@ tests: path: spec.template.spec.containers[0].env content: name: grpc_client_zufi-manager_negotiationType - value: TLS \ No newline at end of file + 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