Bug 2105 fixed 17/12317/6
authorPedro Escaleira <escaleira@av.it.pt>
Thu, 7 Jul 2022 21:18:35 +0000 (22:18 +0100)
committercalvinosanc1 <guillermo.calvino@canonical.com>
Mon, 14 Nov 2022 17:13:32 +0000 (18:13 +0100)
commit44bd0680258ca579736f85e5f5796bd7fc8b29c5
tree899a7c40ccd648d7e2e5ba5416d3a11b4c39d167
parent6a963f583ea98494d767a1b860a545168c57bf83
Bug 2105 fixed

- Added the --reuse-values flag to the upgrade command and updated the
  tests accordingly;
- Also, removed the duplicated code from the _get_upgrade_scale_command
  method, and not this method only calls the _get_upgrade_command to get
  the command to upgrade/scale the Helm Chart

Change-Id: I8bda5450f1f9bd5e2b9771f284e1b904b82fb3df
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
n2vc/k8s_helm3_conn.py
n2vc/k8s_helm_base_conn.py
n2vc/k8s_helm_conn.py
n2vc/tests/unit/test_k8s_helm3_conn.py
n2vc/tests/unit/test_k8s_helm_conn.py