Add etcd to requirements.yaml 24/88124/1
authorKiran Kamineni <kiran.k.kamineni@intel.com>
Tue, 21 May 2019 00:22:36 +0000 (17:22 -0700)
committerKiran Kamineni <kiran.k.kamineni@intel.com>
Tue, 21 May 2019 00:22:43 +0000 (17:22 -0700)
Add etcd to requirements.yaml and
add the service name to the configuration file

Issue-ID: MULTICLOUD-638
Change-Id: Idef37e50f535dcb79e39e5cebfd2c95c660b8e3c
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
kubernetes/multicloud/charts/multicloud-k8s/requirements.yaml
kubernetes/multicloud/charts/multicloud-k8s/resources/config/k8sconfig.json
kubernetes/multicloud/charts/multicloud-k8s/values.yaml

index 566af50..7754685 100644 (file)
@@ -22,4 +22,6 @@ dependencies:
   - name: mongo
     version: ~4.x-0
     repository: '@local'
-
+  - name: etcd
+    version: ~4.x-0
+    repository: '@local'
index e451421..d6fa40d 100644 (file)
@@ -6,5 +6,6 @@
 
     "database-type": "mongo",
     "database-address": "multicloud-k8s-mongo",
+    "etcd-ip": "multicloud-k8s-etcd",
     "plugin-dir": "/opt/multicloud/k8splugin/plugins"
 }
\ No newline at end of file
index 15aade5..22ddd17 100644 (file)
@@ -75,6 +75,14 @@ mongo:
     enabled: true
   disableNfsProvisioner: true
 
+#etcd chart overrides for k8splugin
+etcd:
+  nameOverride: multicloud-k8s-etcd
+  service:
+    name: multicloud-k8s-etcd
+  persistence:
+    mountSubPath: multicloud-k8s/etcd/data
+    enabled: true
 
 # No persistence right now as we rely on Mongo to handle that
 persistence: