envFrom:
- configMapRef:
name: {{ include "common.configmapname.rtmgr" . }}-env
+ - configMapRef:
+ name: {{ include "common.configmapname.dbaas" . }}-appconfig
volumeMounts:
- mountPath: /cfg
name: rtmgrcfg
containerPort: {{ include "common.serviceport.rtmgr.rmr.route" . }}
- name: "rmrdata"
containerPort: {{ include "common.serviceport.rtmgr.rmr.data" . }}
+
+ 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: "rtmgrcfg"
configMap:
name: {{ include "common.configmapname.rtmgr" . }}-rtmgrcfg
items:
- key: rtmgrcfg
- path: rtmgr-config.json
+ path: rtmgr-config.yaml
mode: 0644