Store k8s controller information in Mongo, and remove controller attribute from K8sJu... 12/9612/1
authorDavid Garcia <david.garcia@canonical.com>
Thu, 23 Jul 2020 13:04:19 +0000 (15:04 +0200)
committerDavid Garcia <david.garcia@canonical.com>
Thu, 20 Aug 2020 09:47:32 +0000 (11:47 +0200)
commit4f74f59cf7550185336c0a075205f61d424f214a
treecf72428240c6d379b6d379e892cee8a4f684fc22
parent2c791b34626ff76ab1886a110599998f9de0df80
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