Description of problem:
Monitoring operator should publish sharing-config configmap into openshift-config-managed namespace, so it's reachable for other components, like console, which needs to access to:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Monitoring operator is publishing sharing-config configmap into openshift-monitoring namespace. If any component needs to get hands on the configmap it needs to get additional RBAC permissions.
Monitoring operator should be publishing sharing-config configmap into openshift-config-managed namespace so no additional RBAC permissions needs to be added to component that needs the configmap.
I would be in favour either for "monitoring" as suggested or maybe "monitoring-shared-config"
Moving back to ASSIGNED since the console needs to be updated too.
Tested with 4.4.0-0.nightly-2020-02-23-191320
# oc -n openshift-monitoring get configmap sharing-config -oyaml
# oc -n openshift-config-managed get configmap monitoring-shared-config -oyaml
values for alertmanagerURL/grafanaURL/prometheusURL/thanosURL are the same with both commands
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.