Description of problem (please be detailed as possible and provide log snippests): The issue involves the createOrUpdateConfigMap function in the ManagedClusterViewReconciler controller, where the ConfigMap is not being populated correctly. Specifically, the JSON keys in the ConfigMap are capitalized when they should be lowercase, causing a mismatch with the expected output in test cases. Additionally, there was an issue with filtering YAML keys and setting the Controller field in OwnerReferences. Version of all relevant components (if applicable): ODF Multicluster Orchestrator: v4.17.0-84 Does this issue impact your ability to continue to work with the product (please explain in detail what is the user impact)? Yes, this issue affects the correct functioning of the reconciliation logic in the ManagedClusterViewReconciler, leading to incorrect ConfigMap data, which in turn can cause issues with downstream processes that rely on this ConfigMap. Is there any workaround available to the best of your knowledge? Currently, no workaround is available other than manually correcting the ConfigMap or adjusting the reconciliation logic in the codebase. Rate from 1 - 5 the complexity of the scenario you performed that caused this bug (1 - very simple, 5 - very complex)? 2 Can this issue reproducible? Yes, this issue is reproducible consistently in the testing environment. Can this issue reproduce from the UI? No, this issue is specific to the backend reconciliation logic and cannot be directly reproduced via the UI. If this is a regression, please provide more details to justify this: Steps to Reproduce: 1. Deploy the ODF Multicluster Orchestrator v4.17.0-84. 2. Trigger the reconciliation logic via a ManagedClusterView update. 3. Inspect the resulting ConfigMap (or it may not be created at all ) and compare the JSON keys with the expected format. Actual results: It may not be created at all or the ConfigMap contains capitalized JSON keys and may miss certain expected YAML entries. Expected results: The ConfigMap should be created and contain lowercase JSON keys and correctly parsed YAML entries when client information is provided in ManagedClusterView
Please update the RDT flag/text appropriately.
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 (Important: Red Hat OpenShift Data Foundation 4.17.0 Security, Enhancement, & Bug Fix Update), 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-2024:8676
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days