aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-gui
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-07-19 14:48:39 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2023-07-19 18:20:45 +0200
commitfc55fbf5e322a8ba35b93cfc9af50b2ea3f52995 (patch)
treec5f31735f56ac03a657026637563ec8796c40d76 /kubernetes/policy/components/policy-gui
parentea924c1925e1defb454c3af53245a84ef7ec060e (diff)
[POLICY] Correct container ports in Nexus and GUI
Use templates in deployment.yaml to fix container port settings Issue-ID: OOM-3231 Change-Id: I4802ad318ec87fd55980483caa86a1ab7f018693 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/policy/components/policy-gui')
-rw-r--r--kubernetes/policy/components/policy-gui/templates/deployment.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/kubernetes/policy/components/policy-gui/templates/deployment.yaml b/kubernetes/policy/components/policy-gui/templates/deployment.yaml
index 7a573d0356..69b5e37ed4 100644
--- a/kubernetes/policy/components/policy-gui/templates/deployment.yaml
+++ b/kubernetes/policy/components/policy-gui/templates/deployment.yaml
@@ -69,8 +69,7 @@ spec:
env:
- name: CLAMP_URL
value: http://policy-clamp-runtime-acm:6969
- ports:
- - containerPort: {{ .Values.service.internalPort }}
+ ports: {{ include "common.containerPorts" . | nindent 12 }}
# disable liveness probe when breakpoints set in debugger
# so K8s doesn't restart unresponsive container
{{- if eq .Values.liveness.enabled true }}