X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=integration_tests%2Fa1mediator%2Ftemplates%2Fdeployment.yaml;h=40f3fafa6030a6d15ad935e7bc1a6d612c0981c7;hb=refs%2Fchanges%2F75%2F11875%2F1;hp=a30c21c0f692dda17d9b3946f0e2f7f9ea75d4af;hpb=91ae88989c82b08b9fb69a28f838d6b80681d953;p=ric-plt%2Fa1.git diff --git a/integration_tests/a1mediator/templates/deployment.yaml b/integration_tests/a1mediator/templates/deployment.yaml index a30c21c..40f3faf 100644 --- a/integration_tests/a1mediator/templates/deployment.yaml +++ b/integration_tests/a1mediator/templates/deployment.yaml @@ -25,24 +25,35 @@ spec: 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: "1" - - name: RMR_RETRY_TIMES + - 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" + - name: DBAAS_SERVICE_HOST + value: "dbaas" + - name: DBAAS_SERVICE_PORT + value: "6379" + + image: "a1:latest" imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http containerPort: {{ .Values.httpservice.port }} protocol: TCP - livenessProbe: httpGet: - path: /a1-p/healthcheck + path: /A1-P/v2/healthcheck port: http readinessProbe: httpGet: - path: /a1-p/healthcheck + path: /A1-P/v2/healthcheck port: http resources: {{- toYaml .Values.resources | nindent 12 }}