1128b30ce6
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 |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
test_base.py | ||
test_helm.py |