Fix an issue with the service ports in Kubectl.py 38/9438/7
authorDavid Garcia <david.garcia@canonical.com>
Thu, 16 Jul 2020 15:53:20 +0000 (17:53 +0200)
committergarciadav <david.garcia@canonical.com>
Fri, 17 Jul 2020 12:12:51 +0000 (14:12 +0200)
commit70c5f3ae0d6811adaddf189833a9299f2572930b
tree704c2d727211989aa20768c5ff20047a53e00b52
parent325401b3f8253aa25f8f3e668b2dc16f9b82706e
Fix an issue with the service ports in Kubectl.py

The ports were retrieved as V1ServicePort classes, and LCM cannot store that in the database

Change-Id: I451ab65478f36c5cb7f33594b4454bd315c22878
Signed-off-by: David Garcia <david.garcia@canonical.com>
n2vc/k8s_juju_conn.py
n2vc/kubectl.py
n2vc/tests/unit/test_kubectl.py