From: Fiete Ostkamp Date: Wed, 5 Mar 2025 08:20:47 +0000 (+0100) Subject: [UUI] Fix UUI chart issue X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F81%2F140381%2F1;p=oom.git [UUI] Fix UUI chart issue Issue-ID: USECASEUI-883 Change-Id: Iac9095bfc30c2e2fc8ccffcf3d021f56e66e4951 Signed-off-by: Fiete Ostkamp --- diff --git a/kubernetes/uui/components/uui-server/templates/deployment.yaml b/kubernetes/uui/components/uui-server/templates/deployment.yaml index 58d91a024a..6956970bbb 100644 --- a/kubernetes/uui/components/uui-server/templates/deployment.yaml +++ b/kubernetes/uui/components/uui-server/templates/deployment.yaml @@ -86,14 +86,14 @@ spec: {{- if eq .Values.liveness.enabled true }} livenessProbe: tcpSocket: - port: {{ .Values.service.internalPort }} + port: {{ index .Values.service.ports 0 "port" }} initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} {{- end }} resources: {{ include "common.resources" . | nindent 12 }} readinessProbe: tcpSocket: - port: {{ .Values.service.internalPort }} + port: {{ index .Values.service.ports 0 "port" }} initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} periodSeconds: {{ .Values.readiness.periodSeconds }} env: diff --git a/kubernetes/uui/templates/deployment.yaml b/kubernetes/uui/templates/deployment.yaml index c9feacc1ba..abbd35dc63 100644 --- a/kubernetes/uui/templates/deployment.yaml +++ b/kubernetes/uui/templates/deployment.yaml @@ -61,13 +61,13 @@ spec: {{- if eq .Values.liveness.enabled true }} livenessProbe: tcpSocket: - port: {{ .Values.service.internalPort }} + port: {{ index .Values.service.ports 0 "port" }} initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} {{ end -}} readinessProbe: tcpSocket: - port: {{ .Values.service.internalPort }} + port: {{ index .Values.service.ports 0 "port" }} initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} periodSeconds: {{ .Values.readiness.periodSeconds }} volumeMounts: