[CORD-3022] Splitting config in MCORD services
Change-Id: I90e061ad4873d0b010e2060c21a49de28a84b3a3
diff --git a/xos-services/mcord-subscriber/templates/_helpers.tpl b/xos-services/mcord-subscriber/templates/_helpers.tpl
index 654f91a..456e27f 100644
--- a/xos-services/mcord-subscriber/templates/_helpers.tpl
+++ b/xos-services/mcord-subscriber/templates/_helpers.tpl
@@ -52,9 +52,6 @@
username: {{ .Values.xosAdminUser | quote }}
password: {{ .Values.xosAdminPassword | quote }}
endpoint: xos-core:50051
-dependency_graph: "/opt/xos/synchronizers/mcord/model-deps"
-sys_dir: "/opt/xos/synchronizers/mcord/sys"
-models_dir: "/opt/xos/synchronizers/mcord/models"
logging:
version: 1
handlers:
diff --git a/xos-services/mcord-subscriber/templates/job.yaml b/xos-services/mcord-subscriber/templates/job.yaml
index a6ee4e9..8e24663 100644
--- a/xos-services/mcord-subscriber/templates/job.yaml
+++ b/xos-services/mcord-subscriber/templates/job.yaml
@@ -40,8 +40,8 @@
{{ toYaml .Values.resources | indent 12 }}
volumeMounts:
- name: mcord-subscriber-config
- mountPath: /opt/xos/synchronizers/mcord/mcord_config.yaml
- subPath: mcord_config.yaml
+ mountPath: /opt/xos/synchronizers/mcord/mounted_config.yaml
+ subPath: mounted_config.yaml
- name: certchain-volume
mountPath: /usr/local/share/ca-certificates/local_certs.crt
subPath: config/ca_cert_chain.pem
@@ -51,7 +51,7 @@
name: mcord-subscriber
items:
- key: serviceConfig
- path: mcord_config.yaml
+ path: mounted_config.yaml
- name: certchain-volume
configMap:
name: ca-certificates