[CORD-3022] Splitting config in RCORD services
Change-Id: I66ea8470a5e25942c6460dfc75b21328baca3415
diff --git a/xos-services/volt/templates/_helpers.tpl b/xos-services/volt/templates/_helpers.tpl
index bbf2a38..36706ed 100644
--- a/xos-services/volt/templates/_helpers.tpl
+++ b/xos-services/volt/templates/_helpers.tpl
@@ -55,17 +55,6 @@
event_bus:
endpoint: cord-kafka-kafka
kind: kafka
-required_models:
- - VOLTService
- - VOLTServiceInstance
- - ServiceInstanceLink
- - OLTDevice
-dependency_graph: "/opt/xos/synchronizers/volt/model-deps"
-model_policies_dir: "/opt/xos/synchronizers/volt/model_policies"
-models_dir: "/opt/xos/synchronizers/volt/models"
-steps_dir: "/opt/xos/synchronizers/volt/steps"
-pull_steps_dir: "/opt/xos/synchronizers/volt/pull_steps"
-event_steps_dir: "/opt/xos/synchronizers/volt/event_steps"
logging:
version: 1
handlers:
diff --git a/xos-services/volt/templates/deployment.yaml b/xos-services/volt/templates/deployment.yaml
index f285b6d..cb04c03 100644
--- a/xos-services/volt/templates/deployment.yaml
+++ b/xos-services/volt/templates/deployment.yaml
@@ -45,8 +45,8 @@
{{ toYaml .Values.resources | indent 12 }}
volumeMounts:
- name: volt-config
- mountPath: /opt/xos/synchronizers/volt/volt_config.yaml
- subPath: volt_config.yaml
+ mountPath: /opt/xos/synchronizers/volt/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: volt
items:
- key: serviceConfig
- path: volt_config.yaml
+ path: mounted_config.yaml
- name: certchain-volume
configMap:
name: ca-certificates