Description of the problem: the backup/restore labels are not added on specific resources. As the user story - https://github.com/stolostron/backlog/issues/18324 list, these secret/configmap should be added backup/restore labels, but not, like observability-server-ca-certs, alertmanager-config, etc. Release version: 2.5 Operator snapshot version: OCP version: 4.10 Browser Info: Steps to reproduce: 1. Deploy ACM and Observability 2. create one custom rule for alert ClusterCPUHealth-jb and forward to slack channel create one cm observability-metrics-custom-allowlist for collecting node_memory_Active_bytes and stop collecting cluster:capacity_cpu_cores:sum create one cm sample-dashboard for custom dashboard create one grafana-dev instance 3. Check secret and configmap labels for backup/restore 4. only these resources have backup/restore labels ``` # oc get secret -n open-cluster-management-observability -l cluster.open-cluster-management.io/backup NAME TYPE DATA AGE observability-grafana-certs Opaque 3 16h observability-server-certs Opaque 3 16h # oc get configmap -n open-cluster-management-observability -l cluster.open-cluster-management.io/backup NAME DATA AGE clustercpu 1 69m observability-metrics-custom-allowlist 1 111m sample-dashboard 1 100m thanos-ruler-custom-rules 1 88m ``` Actual results: Expected results: Additional info:
I verified with 2.5.0-DOWNSTREAM-2022-03-29-05-04-50, issue is fixed. Thanks.