aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-xacml-pdp/templates/deployment.yaml
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-04-03 12:19:48 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2023-04-03 12:22:22 +0200
commitb3f16b98d487e878193023627fe55c6d1af99326 (patch)
tree61d4d3537296dfdcac189ebd6058c286788e487f /kubernetes/policy/components/policy-xacml-pdp/templates/deployment.yaml
parent1e6ad11acdc684bfba3ad2ba99a7a20a1b813fce (diff)
[POLICY] Correct comtainer port in policy-xacml-pdp
Wrong port definition leads to missing Service selection Issue-ID: OOM-3120 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I0d843f6cff494e9062ee18321c5525499b868dcd
Diffstat (limited to 'kubernetes/policy/components/policy-xacml-pdp/templates/deployment.yaml')
-rwxr-xr-xkubernetes/policy/components/policy-xacml-pdp/templates/deployment.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/kubernetes/policy/components/policy-xacml-pdp/templates/deployment.yaml b/kubernetes/policy/components/policy-xacml-pdp/templates/deployment.yaml
index ee5a5722c0..1bd94eed0b 100755
--- a/kubernetes/policy/components/policy-xacml-pdp/templates/deployment.yaml
+++ b/kubernetes/policy/components/policy-xacml-pdp/templates/deployment.yaml
@@ -74,8 +74,7 @@ spec:
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
command: ["/opt/app/policy/pdpx/bin/policy-pdpx.sh"]
args: ["/opt/app/policy/pdpx/etc/mounted/config.json"]
- 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 }}