X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-xapps%2F90-xApps%2Fhelm%2Fxapp-std%2Ftemplates%2Fdeployment.yaml;fp=ric-xapps%2F90-xApps%2Fhelm%2Fxapp-std%2Ftemplates%2Fdeployment.yaml;h=b539b9b4216035aee74dbcab91eaea8329848503;hb=5ae874ed52889b075d3544b6814bcc29a4e07c2c;hp=28bd23bb59dc42d37215bba78ed04105124a1dbb;hpb=7469f99d1eba44f0a97ea0279fd96a26d948f8a4;p=it%2Fdep.git diff --git a/ric-xapps/90-xApps/helm/xapp-std/templates/deployment.yaml b/ric-xapps/90-xApps/helm/xapp-std/templates/deployment.yaml index 28bd23bb..b539b9b4 100644 --- a/ric-xapps/90-xApps/helm/xapp-std/templates/deployment.yaml +++ b/ric-xapps/90-xApps/helm/xapp-std/templates/deployment.yaml @@ -46,10 +46,10 @@ spec: - name: http containerPort: {{ .Values.ricxapp.service.http.containerPort }} protocol: TCP - - name: rmrRoute + - name: rmrroute containerPort: {{ .Values.ricxapp.service.rmr.route.port }} protocol: TCP - - name: rmrData + - name: rmrdata containerPort: {{ .Values.ricxapp.service.rmr.data.port }} protocol: TCP volumeMounts: @@ -58,18 +58,14 @@ spec: envFrom: - configMapRef: name: {{ include "ricxapp.configmapname" . }}-appenv + {{- if .Values.ricxapp.livenessProbe }} livenessProbe: - httpGet: - path: {{ .Values.ricxapp.probes.healthAliveCheckEndpoint }} - port: {{ .Values.ricxapp.service.http.containerPort }} - initialDelaySeconds: 5 - periodSeconds: 15 + {{- .Values.ricxapp.livenessProbe | nindent 12 -}} + {{ end }} + {{- if .Values.ricxapp.readinessProbe }} readinessProbe: - httpGet: - path: {{ .Values.ricxapp.probes.healthReadyCheckEndpoint }} - port: {{ .Values.ricxapp.service.http.containerPort }} - initialDelaySeconds: 5 - periodSeconds: 15 + {{- .Values.ricxapp.readinessProbe | nindent 12 -}} + {{ end }} restartPolicy: Always volumes: - name: config-volume