Bug 2065537 - Observability - the backup/restore labels are not added on specific resources
Summary: Observability - the backup/restore labels are not added on specific resources
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Core Services / Observability
Version: rhacm-2.5
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Chunlin Yang
QA Contact: Xiang Yin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-18 06:18 UTC by cqu
Modified: 2022-10-03 20:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-10-03 20:21:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github stolostron backlog issues 20892 0 None None None 2022-03-18 10:11:23 UTC

Description cqu 2022-03-18 06:18:33 UTC
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:

Comment 2 cqu 2022-03-31 03:19:09 UTC
I verified with 2.5.0-DOWNSTREAM-2022-03-29-05-04-50, issue is fixed. Thanks.


Note You need to log in before you can comment on or make changes to this bug.