Get the kubeconfig credentials from MongoDB 04/9504/4
authorDavid Garcia <david.garcia@canonical.com>
Wed, 22 Jul 2020 15:56:12 +0000 (17:56 +0200)
committerDavid Garcia <david.garcia@canonical.com>
Thu, 23 Jul 2020 08:59:46 +0000 (10:59 +0200)
This the previous approach, the kubeconfig was gotten from the filesystem,
which has issues scaling the LCM, because the kubeconfig was only present
in the pod that had initialized the environment.

The kubeconfig is stored in Mongo, and this commit basically gets the config from there, so it doesn't matter which LCM needs access to it.

Change-Id: I80458db5124122a4b7b3eb3a9b00cb4a4add11ff
Signed-off-by: David Garcia <david.garcia@canonical.com>

No differences found