Baremetal: Dependency lock may prevent scaling management-cluster control plane replicas from 2 to 3

While upgrading management cluster.control_plane_replicas from 2 to 3 replicas on controlplane, we may observe a deadlock because vault statefulset replicas will be updated to 3, but while using metal3 we have the following dependency chain between units:

cluster > metal3 > metal3-sync-secrets > eso-secret-stores > vault

Following update, vault won't be ready until the 3 nodes become ready, as we have an antiaffinity rule, but cluster will never be scaled, as its kustomization depends indirectly on vault since we merged !745 (merged)

Assignee Loading
Time tracking Loading