Bug 1807100

Summary: The Monitoring sharing config in openshift-config-managed needs to update configmap keys with "public" to indicate public values
Product: OpenShift Container Platform Reporter: bpeterse
Component: MonitoringAssignee: Simon Pasquier <spasquie>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4CC: alegrand, anpicker, bparees, erooth, kakkoyun, lcosic, mloibl, pkrupa, spasquie, surbania
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1807376 (view as bug list) Environment:
Last Closed: 2020-07-13 17:21:14 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:    
Bug Blocks: 1777486, 1807376    

Description bpeterse 2020-02-25 15:31:49 UTC
Description of problem:

The sharing configmap published by monitoring into openshift-config-managed does not follow the pattern of using "public" in keys that are to be considered public.  Since openshift-config-managed should be treated as a public API, these names should be updated in 4.4 to match the pattern and avoid the need for migration later.  The keys in question are:

- grafanaURL
- prometheusURL
- alertmanagerURL
- thanosURL

And should instead be:

- grafanaPublicURL
- prometheusPublicURL
- alertmanagerPublicURL
- thanosPublicURL

The sharing configmap has been migrated to openshift-config-managed in this PR:
- https://github.com/openshift/cluster-monitoring-operator/pull/654



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


How reproducible:

Always


Steps to Reproduce:

oc get configmap monitoring-shared-config -n openshift-config-managed -o yaml

Comment 1 Ben Parees 2020-02-25 15:55:08 UTC
> The sharing configmap published by monitoring into openshift-config-managed does not follow the pattern of using "public" in keys that are to be considered public.

Ben, do we have some documentation/guides on this somewhere?

Comment 8 errata-xmlrpc 2020-07-13 17:21:14 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:2409

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