config/sysinv/sysinv/sysinv/sysinv/tests/helm
Isac Souza 1128b30ce6 New method to calculate replicas for armada apps
Introduces _num_replicas_for_platform_app as a replacement
for _num_provisioned_controllers which is used to set the
number of replicas used by an platform armada application.

The new method will use the same unrderlying logic but will
never return a value less than 1. This will prevent having
the replicas set to 0 when there are no provisioned
controllers.

Tested with unit tests and by checking the replica count
after a host lock/unlock cycle.

Partial-Bug: 1922278
Signed-off-by: Isac Souza <IsacSacchi.Souza@windriver.com>
Change-Id: If322ff5d02996c9b853bc350244899c5e22431a2
2021-04-05 09:04:10 -03:00
..
__init__.py Adding unit tests that exercise helm plugins 2019-08-20 09:11:16 -05:00
base.py Tox tests for OIDC client helm overrides 2020-01-31 15:37:31 -05:00
test_base.py New method to calculate replicas for armada apps 2021-04-05 09:04:10 -03:00
test_helm.py Decouple helm cert-manager plugins from sysinv 2020-06-08 01:46:34 -04:00