From b3f16b98d487e878193023627fe55c6d1af99326 Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Mon, 3 Apr 2023 12:19:48 +0200 Subject: [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 Change-Id: I0d843f6cff494e9062ee18321c5525499b868dcd --- .../policy/components/policy-xacml-pdp/templates/deployment.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'kubernetes') 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 }} -- cgit 1.2.3-korg