- 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
+ - configMapRef:
+ name: {{ include "common.configmapname.dbaas" . }}-appconfig
ports:
- name: http
containerPort: {{ include "common.serviceport.submgr.http" . }}
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:
- key: submgrcfg
path: submgr-config.yaml
mode: 0644
-
+ - key: submgrutartg
+ path: submgr-uta-rtg.rt
+ mode: 0644