summaryrefslogtreecommitdiffstats
path: root/kubernetes/uui/components/uui-server/templates/deployment.yaml
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-02-07 13:10:01 +0100
committerAndreas Geissler <andreas-geissler@telekom.de>2023-02-14 08:38:51 +0000
commit22f3b16043de9d28461a523202018ef82fcb892d (patch)
treee47de6460e7d18faf987bd48135045f166f52552 /kubernetes/uui/components/uui-server/templates/deployment.yaml
parent63ec99de7215eb043093dd0e8ec90d8c33aa6590 (diff)
[UUI] Make UUI SM compatible
Change the service definitions and deployment to support the nonTLS setup (AAF removal) using existing templates Issue-ID: OOM-2998 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: If86aa97e2bc8eef628a02d43407b2f16b1d06783
Diffstat (limited to 'kubernetes/uui/components/uui-server/templates/deployment.yaml')
-rw-r--r--kubernetes/uui/components/uui-server/templates/deployment.yaml6
1 files changed, 2 insertions, 4 deletions
diff --git a/kubernetes/uui/components/uui-server/templates/deployment.yaml b/kubernetes/uui/components/uui-server/templates/deployment.yaml
index 13b8774f47..b25427a3be 100644
--- a/kubernetes/uui/components/uui-server/templates/deployment.yaml
+++ b/kubernetes/uui/components/uui-server/templates/deployment.yaml
@@ -22,8 +22,7 @@ spec:
selector: {{- include "common.selectors" . | nindent 4 }}
replicas: {{ .Values.replicaCount }}
template:
- metadata:
- {{- include "common.templateMetadata" . | nindent 6 }}
+ metadata: {{- include "common.templateMetadata" . | nindent 6 }}
spec:
{{ include "common.podSecurityContext" . | indent 6 | trim }}
serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . ) }}
@@ -74,8 +73,7 @@ spec:
- |
export $(cat {{ .Values.certInitializer.credsPath }}/mycreds.prop | xargs -0)
bash /uui/run.sh
- ports:
- - containerPort: {{ .Values.service.internalPort }}
+ ports: {{ include "common.containerPorts" . | nindent 10 }}
# disable liveness probe when breakpoints set in debugger
# so K8s doesn't restart unresponsive container
{{- if eq .Values.liveness.enabled true }}