Store k8s controller information in Mongo, and remove controller attribute from K8sJu... 19/9519/9 v8.0.1 v8.0.1rc1
authorDavid Garcia <david.garcia@canonical.com>
Thu, 23 Jul 2020 13:04:19 +0000 (15:04 +0200)
committerDavid Garcia <david.garcia@canonical.com>
Mon, 27 Jul 2020 13:35:55 +0000 (15:35 +0200)
commit3c063d193a201b5e7653115671739f1e64677e9c
treecf72428240c6d379b6d379e892cee8a4f684fc22
parenta7102ec60fc00896351c661b130cf381504fa6fd
Store k8s controller information in Mongo, and remove controller attribute from K8sJujuConnector

- Storing the k8s controller information in Mongo let us connect to that controller from different LCM units
- The cacert and secret keys are encrypted
- The controller attribute in K8sJujuConnector was preventing to have more than 1 connection to different controllers at the same time

Change-Id: Icf96e1eedf84e283dd6b0016cae3695a074b7d24
Signed-off-by: David Garcia <david.garcia@canonical.com>
n2vc/k8s_juju_conn.py