aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-04-05 09:51:25 +0000
committerGerrit Code Review <gerrit@onap.org>2023-04-05 09:51:25 +0000
commitbb32bf993ac2b74c12fc435e756d9ce98bb73611 (patch)
tree9a9822b4e3dc27c1977803d3c2d78bdb43ac6082
parentaa5f0fa05ac774865691e2c17cd0c452f28d2492 (diff)
parentb3f16b98d487e878193023627fe55c6d1af99326 (diff)
Merge "[POLICY] Correct comtainer port in policy-xacml-pdp"
-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 }}