[CORD-3022] Splitting config in RCORD services
Change-Id: I66ea8470a5e25942c6460dfc75b21328baca3415
diff --git a/xos-services/fabric/templates/_helpers.tpl b/xos-services/fabric/templates/_helpers.tpl
index 775d2c2..b8888e9 100644
--- a/xos-services/fabric/templates/_helpers.tpl
+++ b/xos-services/fabric/templates/_helpers.tpl
@@ -52,14 +52,6 @@
username: {{ .Values.xosAdminUser | quote }}
password: {{ .Values.xosAdminPassword | quote }}
endpoint: xos-core:50051
-required_models:
- - Instance
- - Tag
- - FabricService
-dependency_graph: "/opt/xos/synchronizers/fabric/model-deps"
-steps_dir: "/opt/xos/synchronizers/fabric/steps"
-sys_dir: "/opt/xos/synchronizers/fabric/sys"
-models_dir: "/opt/xos/synchronizers/fabric/models"
logging:
version: 1
handlers:
diff --git a/xos-services/fabric/templates/deployment.yaml b/xos-services/fabric/templates/deployment.yaml
index 3c7d03b..be332e0 100644
--- a/xos-services/fabric/templates/deployment.yaml
+++ b/xos-services/fabric/templates/deployment.yaml
@@ -45,8 +45,8 @@
{{ toYaml .Values.resources | indent 12 }}
volumeMounts:
- name: fabric-config
- mountPath: /opt/xos/synchronizers/fabric/fabric_config.yaml
- subPath: fabric_config.yaml
+ mountPath: /opt/xos/synchronizers/fabric/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
@@ -56,7 +56,7 @@
name: fabric
items:
- key: serviceConfig
- path: fabric_config.yaml
+ path: mounted_config.yaml
- name: certchain-volume
configMap:
name: ca-certificates