[CORD-3022] Splitting config in RCORD services
Change-Id: I66ea8470a5e25942c6460dfc75b21328baca3415
diff --git a/xos-services/vsg-hw/templates/_helpers.tpl b/xos-services/vsg-hw/templates/_helpers.tpl
index 3970829..fcf95f9 100644
--- a/xos-services/vsg-hw/templates/_helpers.tpl
+++ b/xos-services/vsg-hw/templates/_helpers.tpl
@@ -52,15 +52,6 @@
username: {{ .Values.xosAdminUser | quote }}
password: {{ .Values.xosAdminPassword | quote }}
endpoint: xos-core:50051
-required_models:
- - VSGHWService
- - VSGHWServiceInstance
- - ServiceInstanceLink
-dependency_graph: "/opt/xos/synchronizers/vsg-hw/model-deps"
-steps_dir: "/opt/xos/synchronizers/vsg-hw/steps"
-model_policies_dir: "/opt/xos/synchronizers/vsg-hw/model_policies"
-sys_dir: "/opt/xos/synchronizers/vsg-hw/sys"
-models_dir: "/opt/xos/synchronizers/vsg-hw/models"
logging:
version: 1
handlers:
diff --git a/xos-services/vsg-hw/templates/deployment.yaml b/xos-services/vsg-hw/templates/deployment.yaml
index 17b129b..d81cc16 100644
--- a/xos-services/vsg-hw/templates/deployment.yaml
+++ b/xos-services/vsg-hw/templates/deployment.yaml
@@ -45,8 +45,8 @@
{{ toYaml .Values.resources | indent 12 }}
volumeMounts:
- name: vsg-hw-config
- mountPath: /opt/xos/synchronizers/vsg-hw/vsg_hw_config.yaml
- subPath: vsg_hw_config.yaml
+ mountPath: /opt/xos/synchronizers/vsg-hw/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: vsg-hw
items:
- key: serviceConfig
- path: vsg_hw_config.yaml
+ path: mounted_config.yaml
- name: certchain-volume
configMap:
name: ca-certificates