X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=helm%2Fsubmgr%2Ftemplates%2Fdeployment.yaml;h=f9a1398017125c33be0f8bcafb121a0e78700e2f;hb=HEAD;hp=c566073e3b61cf2723dc6e54e68a7e46ba1f81d6;hpb=393136323474cc68318eda4a674d91cc6aca0ffc;p=ric-plt%2Fric-dep.git diff --git a/helm/submgr/templates/deployment.yaml b/helm/submgr/templates/deployment.yaml index c566073..f9a1398 100644 --- a/helm/submgr/templates/deployment.yaml +++ b/helm/submgr/templates/deployment.yaml @@ -50,7 +50,8 @@ spec: - name: {{ include "common.containername.submgr" . }} image: {{ include "common.dockerregistry.url" $imagectx }}/{{ .Values.submgr.image.name }}:{{ .Values.submgr.image.tag }} imagePullPolicy: {{ include "common.dockerregistry.pullpolicy" $pullpolicyctx }} - command: ["/run_submgr.sh"] + command: ["/submgr"] + args: ["-f", "/cfg/submgr-config.yaml"] envFrom: - configMapRef: name: {{ include "common.configmapname.submgr" . }}-env @@ -69,6 +70,19 @@ spec: volumeMounts: - name: config-volume mountPath: /cfg + livenessProbe: + httpGet: + path: ric/v1/health/alive + port: 8080 + initialDelaySeconds: 5 + periodSeconds: 15 + readinessProbe: + httpGet: + path: ric/v1/health/ready + port: 8080 + initialDelaySeconds: 5 + periodSeconds: 15 + volumes: - name: config-volume configMap: @@ -77,4 +91,6 @@ spec: - key: submgrcfg path: submgr-config.yaml mode: 0644 - + - key: submgrutartg + path: submgr-uta-rtg.rt + mode: 0644