Feature 10974: Add juju instantiation params. 41/12841/13
authorPatricia Reinoso <patricia.reinoso@canonical.com>
Tue, 17 Jan 2023 08:39:44 +0000 (08:39 +0000)
committerreinosop <patricia.reinoso@canonical.com>
Thu, 2 Feb 2023 10:07:39 +0000 (11:07 +0100)
commitfedf9150c2041deb65fc54944e9be245e4b6fd21
tree548a21c1a8dd279c2d08c4ed9b8dde27c4278c84
parent2b2dc52b95660e3b4a5564914aa1f490d88a2b9f
Feature 10974: Add juju instantiation params.

Instantiation paramaters are added using
a bundle overlay.

Bundle overlay is passed to juju library at the
moment of deployment.

Bundle overlay is a YAML file created at instantiation.

We check that all the applications in overlay already
exist in original bundle

Change-Id: Idbc7d2bc02915a1023e213e26a01531d93f24798
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
n2vc/k8s_juju_conn.py
n2vc/libjuju.py
n2vc/tests/unit/test_k8s_juju_conn.py
n2vc/tests/unit/test_libjuju.py