mgmt-cluster-state-values should be copied to team namespaces
Summary
While testing the creation of sylvaWorkloadCluster using the gitops workflow, I faced the following error while attempting to inject management shared values in workload cluster values:
NAMESPACE NAME AGE READY STATUS
swct-zioc-team zioc 18s False Failed to reconcile SylvaWorkloadCluster zioc: failed to retrieve ConfigMap mgmt-cluster-state-values referred in valuesFrom: ConfigMap "mgmt-cluster-state-values" not foundThe issue is that wit our current policy, we're copying this configmap to workload cluster namespaces labelled with sylva-project.org/workload-cluster label, but workload cluster definitons live in teams namespaces labelled with sylva-project.org/workload-team. We should also inject this configmap in these namspaces.