8716 - K8s Proxy Charms 72/9072/8
authorDominik Fleischmann <dominik.fleischmann@canonical.com>
Tue, 9 Jun 2020 09:57:14 +0000 (11:57 +0200)
committerDominik Fleischmann <dominik.fleischmann@canonical.com>
Mon, 29 Jun 2020 11:28:21 +0000 (13:28 +0200)
commitb95133489d1cd16e1692085b1193d24d52c858fc
tree59b6bc32b3061d9f221283541f63d324f3ebeb7b
parentf8a9d46e66f1222d7aefdf5a641e4490ef1a40b8
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>
n2vc/exceptions.py
n2vc/libjuju.py
n2vc/n2vc_conn.py
n2vc/n2vc_juju_conn.py