[CORD-3022] Splitting config in RCORD services
Change-Id: I66ea8470a5e25942c6460dfc75b21328baca3415
diff --git a/xos-services/onos-service/templates/_helpers.tpl b/xos-services/onos-service/templates/_helpers.tpl
index 5c59ebc..b93ce55 100644
--- a/xos-services/onos-service/templates/_helpers.tpl
+++ b/xos-services/onos-service/templates/_helpers.tpl
@@ -53,13 +53,6 @@
username: {{ .Values.xosAdminUser | quote }}
password: {{ .Values.xosAdminPassword | quote }}
endpoint: xos-core:50051
-required_models:
- - ONOSService
- - ONOSApp
-dependency_graph: "/opt/xos/synchronizers/onos/model-deps"
-steps_dir: "/opt/xos/synchronizers/onos/steps"
-sys_dir: "/opt/xos/synchronizers/onos/sys"
-models_dir: "/opt/xos/synchronizers/onos/models"
logging:
version: 1
handlers:
diff --git a/xos-services/onos-service/templates/deployment.yaml b/xos-services/onos-service/templates/deployment.yaml
index 38b66b2..4741338 100644
--- a/xos-services/onos-service/templates/deployment.yaml
+++ b/xos-services/onos-service/templates/deployment.yaml
@@ -44,8 +44,8 @@
{{ toYaml .Values.resources | indent 12 }}
volumeMounts:
- name: onos-service-config
- mountPath: /opt/xos/synchronizers/onos/onos_config.yaml
- subPath: onos_config.yaml
+ mountPath: /opt/xos/synchronizers/onos/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
@@ -55,7 +55,7 @@
name: onos-service
items:
- key: serviceConfig
- path: onos_config.yaml
+ path: mounted_config.yaml
- name: certchain-volume
configMap:
name: ca-certificates