Upgrading simple-example-service config mount to the other services
Change-Id: I04807e8199637cea6aa0acefd51aef33d18a9429
diff --git a/xos-profiles/demo-simpleexampleservice/Chart.yaml b/xos-profiles/demo-simpleexampleservice/Chart.yaml
index 996ef75..1199009 100644
--- a/xos-profiles/demo-simpleexampleservice/Chart.yaml
+++ b/xos-profiles/demo-simpleexampleservice/Chart.yaml
@@ -17,7 +17,7 @@
description: A Helm chart that launches and configures SimpleExampleService. It's assumed that base-kubernetes profile is installed.
icon: https://guide.opencord.org/logos/cord.svg
-version: 1.0.5
+version: 1.0.6
# xosproject/tosca-loader version
appVersion: 1.1.7
diff --git a/xos-profiles/demo-simpleexampleservice/requirements.yaml b/xos-profiles/demo-simpleexampleservice/requirements.yaml
index ba63415..d356a7a 100644
--- a/xos-profiles/demo-simpleexampleservice/requirements.yaml
+++ b/xos-profiles/demo-simpleexampleservice/requirements.yaml
@@ -15,5 +15,5 @@
dependencies:
- name: simpleexampleservice
- version: 1.1.7
+ version: 1.1.8
repository: file://../../xos-services/simpleexampleservice
diff --git a/xos-services/simpleexampleservice/Chart.yaml b/xos-services/simpleexampleservice/Chart.yaml
index 149195d..16d9f02 100644
--- a/xos-services/simpleexampleservice/Chart.yaml
+++ b/xos-services/simpleexampleservice/Chart.yaml
@@ -17,5 +17,5 @@
description: A Helm chart for XOS's "simpleexampleservice" service
icon: https://guide.opencord.org/logos/cord.svg
-version: 1.1.7
+version: 1.1.8
appVersion: 1.1.8
diff --git a/xos-services/simpleexampleservice/templates/_helpers.tpl b/xos-services/simpleexampleservice/templates/_helpers.tpl
index e009426..db0137f 100644
--- a/xos-services/simpleexampleservice/templates/_helpers.tpl
+++ b/xos-services/simpleexampleservice/templates/_helpers.tpl
@@ -56,22 +56,6 @@
event_bus:
endpoint: {{ .Values.kafkaService | quote }}
kind: kafka
-required_models:
- - SimpleExampleService
- - SimpleExampleServiceInstance
- - ServiceDependency
- - KubernetesService
- - KubernetesServiceInstance
- - KubernetesConfigMap
- - KubernetesSecret
- - KubernetesConfigVolumeMount
- - KubernetesSecretVolumeMount
-dependency_graph: "/opt/xos/synchronizers/simpleexampleservice/model-deps"
-steps_dir: "/opt/xos/synchronizers/simpleexampleservice/steps"
-event_steps_dir: "/opt/xos/synchronizers/simpleexampleservice/event_steps"
-sys_dir: "/opt/xos/synchronizers/simpleexampleservice/sys"
-model_policies_dir: "/opt/xos/synchronizers/simpleexampleservice/model_policies"
-models_dir: "/opt/xos/synchronizers/simpleexampleservice/models"
logging:
version: 1
handlers:
diff --git a/xos-services/simpleexampleservice/templates/deployment.yaml b/xos-services/simpleexampleservice/templates/deployment.yaml
index eb5c997..976e54b 100644
--- a/xos-services/simpleexampleservice/templates/deployment.yaml
+++ b/xos-services/simpleexampleservice/templates/deployment.yaml
@@ -42,8 +42,8 @@
{{ toYaml .Values.resources | indent 12 }}
volumeMounts:
- name: simpleexampleservice-config
- mountPath: /opt/xos/synchronizers/simpleexampleservice/config.yaml
- subPath: config.yaml
+ mountPath: /opt/xos/synchronizers/simpleexampleservice/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
@@ -53,7 +53,7 @@
name: simpleexampleservice
items:
- key: serviceConfig
- path: config.yaml
+ path: mounted_config.yaml
- name: certchain-volume
configMap:
name: ca-certificates