Describe the bug
When I have replicants replicas set to 0 and there is a change in the core template, the new core statefulset is created but never becomes ready.
To Reproduce
Create EMQX cluster. Scale replicant nodes to 0. Then make a change to core template for example add volume claim template. See that a new STS is created, but the readiness gate does not get fulfilled. Now delete the replicaset for the replicant nodes, the new STS now becomes ready.
Describe the bug When I have replicants replicas set to 0 and there is a change in the core template, the new core statefulset is created but never becomes ready.
To Reproduce Create EMQX cluster. Scale replicant nodes to 0. Then make a change to core template for example add volume claim template. See that a new STS is created, but the readiness gate does not get fulfilled. Now delete the replicaset for the replicant nodes, the new STS now becomes ready.
https://github.com/broersma-forslund/homelab/blob/6c39851ef8c32f2ddc1aafa76069fe75f0060fec/apps/emqx/templates/cluster.yaml#L10
Expected behavior Core nodes can be updates with replicant nodes set to 0 replicas.
Anything else we need to know?:
EMQX resource status contains:
Even though replicant replicas is 0 and no replicant nodes exist.
EMQX replicant replicaset: