aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/nginx/templates/stream-server-block-configmap.yaml
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2025-01-16 16:07:56 +0100
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2025-01-20 08:48:04 +0100
commit09006130e365124b692db8081b872aee2db7141a (patch)
treeea6935ab33594e9885c46846c9a74a1f3eec5be7 /kubernetes/common/nginx/templates/stream-server-block-configmap.yaml
parent4885be4c0fde704fd1c56df408871be0647b6e4f (diff)
[USECASEUI] Make usecase-ui work via ingress
- introduce nginx that serves as reverse proxy in front of the uui and uui-server pods - this approach makes the web app work over ingress - introduce new AAI_ADDR environment variable that may eventually be used by uui-server to interface with AAI directly Issue-ID: USECASEUI-854 Change-Id: I229e039f8dfe6df050886ade0ea37a30c7272494 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'kubernetes/common/nginx/templates/stream-server-block-configmap.yaml')
-rw-r--r--kubernetes/common/nginx/templates/stream-server-block-configmap.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/kubernetes/common/nginx/templates/stream-server-block-configmap.yaml b/kubernetes/common/nginx/templates/stream-server-block-configmap.yaml
new file mode 100644
index 0000000000..11b39d404b
--- /dev/null
+++ b/kubernetes/common/nginx/templates/stream-server-block-configmap.yaml
@@ -0,0 +1,19 @@
+{{- /*
+Copyright Broadcom, Inc. All Rights Reserved.
+SPDX-License-Identifier: APACHE-2.0
+*/}}
+
+{{- if and .Values.streamServerBlock (not .Values.existingStreamServerBlockConfigmap) }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ template "common.names.fullname" . }}-stream-server-block
+ namespace: {{ include "common.names.namespace" . | quote }}
+ labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
+ {{- if .Values.commonAnnotations }}
+ annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
+ {{- end }}
+data:
+ stream-server-block.conf: |-
+ {{- include "common.tplvalues.render" ( dict "value" .Values.streamServerBlock "context" $ ) | nindent 4 }}
+{{- end }}