X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=integration_tests%2Fa1mediator%2Ftemplates%2Fdeployment.yaml;h=a6e0786546943dd2ba612b1cdfabdb5476228806;hb=86a578baf19b3213f211b772ad6f3a9c4f2dee4a;hp=82360c096272b8294c56b1a17d66d370ba64a1fb;hpb=0caac0f8bacd54d8b7ae81eda2e5fb53852aaad9;p=ric-plt%2Fa1.git diff --git a/integration_tests/a1mediator/templates/deployment.yaml b/integration_tests/a1mediator/templates/deployment.yaml index 82360c0..a6e0786 100644 --- a/integration_tests/a1mediator/templates/deployment.yaml +++ b/integration_tests/a1mediator/templates/deployment.yaml @@ -21,36 +21,34 @@ spec: containers: - name: {{ .Chart.Name }} volumeMounts: - - name: a1conf - mountPath: /opt/ricmanifest.json - subPath: ricmanifest.json - - name: a1conf - mountPath: /opt/rmr_string_int_mapping.txt - subPath: rmr_string_int_mapping.txt - name: a1conf mountPath: /opt/route/local.rt subPath: local.rt env: + # this sets the source field in messages from a1 to point back to a1s service name, rather than it's random pod name + - name: RMR_SRC_ID + value: {{ .Values.rmrservice.name }} - name: PYTHONUNBUFFERED - value: "0" - - name: RMR_RCV_RETRY_INTERVAL - value: "{{ .Values.rmr_timeout_config.rcv_retry_interval_ms }}" - - name: RMR_RETRY_TIMES + value: "1" + - name: A1_RMR_RETRY_TIMES value: "{{ .Values.rmr_timeout_config.rcv_retry_times }}" - image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + - name: INSTANCE_DELETE_NO_RESP_TTL + value: "5" + - name: INSTANCE_DELETE_RESP_TTL + value: "10" + image: "a1:latest" imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http containerPort: {{ .Values.httpservice.port }} protocol: TCP - livenessProbe: httpGet: - path: /ui + path: /a1-p/healthcheck port: http readinessProbe: httpGet: - path: /ui + path: /a1-p/healthcheck port: http resources: {{- toYaml .Values.resources | nindent 12 }}