Use new method for setting num of replicas
Use the new _num_replicas_for_platform_app method from the helm base class to set the number of replicas in the chart. The new method will return the number of provisioned controllers with a minimum of 1. Tested by building an ISO and installing the armada apps. Partial-Bug: 1922278 Signed-off-by: Isac Souza <IsacSacchi.Souza@windriver.com> Change-Id: I69a41efafbdca48a986e1f360925a85983450e88
This commit is contained in:
parent
7ca34d2a6f
commit
f5ce75b7bc
@ -56,7 +56,7 @@ class Dex(DexBaseHelm):
|
||||
'staticClients': self._get_static_clients(),
|
||||
},
|
||||
'ports': ports,
|
||||
'replicas': self._num_provisioned_controllers(),
|
||||
'replicas': self._num_replicas_for_platform_app(),
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -36,7 +36,7 @@ class OidcClientHelm(DexBaseHelm):
|
||||
'service': {
|
||||
'nodePort': self.OIDC_CLIENT_NODE_PORT
|
||||
},
|
||||
'replicas': self._num_provisioned_controllers(),
|
||||
'replicas': self._num_replicas_for_platform_app(),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user