Code Review
/
ric-plt
/
a1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Create release v3.0.1"
[ric-plt/a1.git]
/
integration_tests
/
a1mediator
/
templates
/
deployment.yaml
diff --git
a/integration_tests/a1mediator/templates/deployment.yaml
b/integration_tests/a1mediator/templates/deployment.yaml
index
a2963fb
..
45b1a45
100644
(file)
--- a/
integration_tests/a1mediator/templates/deployment.yaml
+++ b/
integration_tests/a1mediator/templates/deployment.yaml
@@
-21,24
+21,32
@@
spec:
containers:
- name: {{ .Chart.Name }}
volumeMounts:
containers:
- name: {{ .Chart.Name }}
volumeMounts:
- - name: a1conf
- mountPath: /opt/ricmanifest.json
- subPath: ricmanifest.json
- name: a1conf
mountPath: /opt/route/local.rt
subPath: local.rt
env:
- 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: "1"
- name: PYTHONUNBUFFERED
value: "1"
- - name: RMR_RETRY_TIMES
+ - name:
A1_
RMR_RETRY_TIMES
value: "{{ .Values.rmr_timeout_config.rcv_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
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: {{ .Values.httpservice.port }}
protocol: TCP
-
livenessProbe:
httpGet:
path: /a1-p/healthcheck
livenessProbe:
httpGet:
path: /a1-p/healthcheck