Fix an issue with the service ports in Kubectl.py 08/9608/1
authorDavid Garcia <david.garcia@canonical.com>
Thu, 16 Jul 2020 15:53:20 +0000 (17:53 +0200)
committerDavid Garcia <david.garcia@canonical.com>
Thu, 20 Aug 2020 09:47:32 +0000 (11:47 +0200)
commit37004983e8e484d5504ae4253bdb75204ff389d9
tree704c2d727211989aa20768c5ff20047a53e00b52
parent810459632a4fb28e1bde897aaef8775cba342b4b
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