CI: bug in delayed cleanup
The delayed cleanup code for delay-capo-ci-cleanup-on-failure removes the CAPO secret to prevent the HeatStack operator from operating on our openstack resources:
https://gitlab.com/sylva-projects/sylva-core/-/blob/main/.gitlab/ci/pipeline-deploy-capo.yml#L55
kubectl --kubeconfig management-cluster-kubeconfig -n $ns patch Kustomization capo-cluster-resources --type=merge -p '{"spec":{"suspend":true}}' || true
kubectl --kubeconfig management-cluster-kubeconfig -n $ns delete secret cluster-cloud-config || true
To avoid Secret recreation it suspends the Kustomization that creates it, the capo-cluster-resources Kustomization.
Except that, after a recent change, this isn't the right Kustomization anymore.
The kustomization to suspend is the cloud-config Kustomization.