Description of the problem: Observability - dashboard name contains `/` would cause error when generating dashboard cm Release version: 2.4.x Steps to reproduce: 1. Create customized dashboard by scripts here - https://github.com/open-cluster-management/multicluster-observability-operator/tree/main/tools 2. If dashboard name contains `/` when generating dashboard configmap 3. There's error generated ``` (base) cqu-mac:tools cqu$ ./generate-dashboard-configmap-yaml.sh "kubernetes/nodememory" ./generate-dashboard-configmap-yaml.sh: line 107: [: -ne: unary operator expected ./generate-dashboard-configmap-yaml.sh: line 123: ./kubernetes/nodememory.yaml: No such file or directory Save dashboard <kubernetes/nodememory> to ./kubernetes/nodememory.yaml ```
Verified by 2.4.3 RC1, issue is fixed. Thanks.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat Advanced Cluster Management 2.4.3 security updates and bug fixes), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:1476