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
Fix changelog links and titles
[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
1f3ae51
..
e94045d
100644
(file)
--- a/
integration_tests/a1mediator/templates/deployment.yaml
+++ b/
integration_tests/a1mediator/templates/deployment.yaml
@@
-21,20
+21,15
@@
spec:
containers:
- name: {{ .Chart.Name }}
volumeMounts:
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:
- 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
- name: PYTHONUNBUFFERED
- value: "0"
- - name: RMR_RCV_RETRY_INTERVAL
- value: "{{ .Values.rmr_timeout_config.rcv_retry_interval_ms }}"
+ value: "1"
- name: RMR_RETRY_TIMES
value: "{{ .Values.rmr_timeout_config.rcv_retry_times }}"
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
- name: RMR_RETRY_TIMES
value: "{{ .Values.rmr_timeout_config.rcv_retry_times }}"
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
@@
-43,14
+38,13
@@
spec:
- name: http
containerPort: {{ .Values.httpservice.port }}
protocol: TCP
- name: http
containerPort: {{ .Values.httpservice.port }}
protocol: TCP
-
livenessProbe:
httpGet:
livenessProbe:
httpGet:
- path: /healthcheck
+ path: /
a1-p/
healthcheck
port: http
readinessProbe:
httpGet:
port: http
readinessProbe:
httpGet:
- path: /healthcheck
+ path: /
a1-p/
healthcheck
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}