8716 - K8s Proxy Charms 29/9229/1
authorDominik Fleischmann <dominik.fleischmann@canonical.com>
Tue, 9 Jun 2020 09:57:14 +0000 (11:57 +0200)
committergarciadav <david.garcia@canonical.com>
Tue, 30 Jun 2020 09:44:34 +0000 (11:44 +0200)
commitbd808f24d6abbdd40ec7d9456b10b8f1be17fb08
tree59b6bc32b3061d9f221283541f63d324f3ebeb7b
parentba8377f56092f1bf9c8dc57bd9afec39a66d992f
8716 - K8s Proxy Charms

This commit enables the possibility to deploy
Proxy Charms on Kubernetes.

It depends on a new LCM environment variable
called `k8s_cloud` which will state the k8s name
in VCA that will be used for deploying the proxy
charms.

It will also check the k8s model for status
and delete the k8s model if it exists.

Finally it will now retry the verify ssh
credential action when the action fails, instead
of only retrying when a excpetion is launched.

Change-Id: I09510dcec00f747da945f88d54c2e25c1402d56c
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
(cherry picked from commit b95133489d1cd16e1692085b1193d24d52c858fc)
n2vc/exceptions.py
n2vc/libjuju.py
n2vc/n2vc_conn.py
n2vc/n2vc_juju_conn.py