X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2Fhelm%2Fcontrolpanel%2Ftemplates%2Fdeployment.yaml;h=eb8fccea5968a14928dab412e0e7a19c9c3397df;hb=1b94fafc07f3e99986c0b673173ccfc8f7e745cb;hp=d2fbd579e9503234a77bbc588ead8dea05e64af7;hpb=7e09001c5b58dab96d014fe3f9c41f89b53f3cc3;p=it%2Fdep.git diff --git a/nonrtric/helm/controlpanel/templates/deployment.yaml b/nonrtric/helm/controlpanel/templates/deployment.yaml index d2fbd579..eb8fccea 100644 --- a/nonrtric/helm/controlpanel/templates/deployment.yaml +++ b/nonrtric/helm/controlpanel/templates/deployment.yaml @@ -45,19 +45,25 @@ spec: image: {{ .Values.controlpanel.image.registry }}/{{ .Values.controlpanel.image.name }}:{{ .Values.controlpanel.image.tag }} imagePullPolicy: {{ .Values.controlpanel.imagePullPolicy }} ports: - - name: http - containerPort: {{ .Values.controlpanel.service.internalPort }} - protocol: TCP + - containerPort: {{ .Values.controlpanel.service.targetPort1 }} + protocol: TCP + - containerPort: {{ .Values.controlpanel.service.targetPort2 }} + protocol: TCP volumeMounts: - name: configmap - mountPath: /maven/application.properties - subPath: application.properties + mountPath: /etc/nginx/nginx.conf + subPath: nginx.conf readOnly: true readinessProbe: tcpSocket: - port: {{ .Values.controlpanel.service.internalPort }} - initialDelaySeconds: 15 - periodSeconds: 15 + port: {{ .Values.controlpanel.service.targetPort1 }} + initialDelaySeconds: {{ .Values.controlpanel.liveness.initialDelaySeconds }} + periodSeconds: {{ .Values.controlpanel.liveness.periodSeconds }} + livenessProbe: + tcpSocket: + port: {{ .Values.controlpanel.service.targetPort1 }} + initialDelaySeconds: {{ .Values.controlpanel.liveness.initialDelaySeconds }} + periodSeconds: {{ .Values.controlpanel.liveness.periodSeconds }} volumes: - name: configmap configMap: