Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1803192

Summary: Monitoring operator should publish sharing-config configmap into openshift-config-managed namespace
Product: OpenShift Container Platform Reporter: Jakub Hadvig <jhadvig>
Component: MonitoringAssignee: Simon Pasquier <spasquie>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4CC: alegrand, anpicker, erooth, kakkoyun, lcosic, mloibl, pkrupa, spasquie, surbania
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-04 11:36:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1777486    
Bug Blocks:    

Description Jakub Hadvig 2020-02-14 16:14:02 UTC
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:
 - alertmanagerURL
 - grafanaURL
 - thanosURL
 - prometheusURL

Version-Release number of selected component (if applicable):
4.4.

How reproducible:
Always


Steps to Reproduce:
1. 
2.
3.

Actual results:
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.


Expected results:
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.

Additional info:

Comment 4 Jakub Hadvig 2020-02-17 10:14:49 UTC
I would be in favour either for "monitoring" as suggested or maybe "monitoring-shared-config"

Comment 5 Simon Pasquier 2020-02-17 13:45:59 UTC
Moving back to ASSIGNED since the console needs to be updated too.

Comment 9 Junqi Zhao 2020-02-24 03:42:00 UTC
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

Comment 11 errata-xmlrpc 2020-05-04 11:36:59 UTC
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.

https://access.redhat.com/errata/RHBA-2020:0581

Comment 12 Red Hat Bugzilla 2023-09-14 05:52:35 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days