Bug 1999153

Summary: [backport][STF 1.3] Add ability to specify Grafana baseImage in Service Telemetry Operator
Product: Service Telemetry Framework Reporter: Leif Madsen <lmadsen>
Component: service-telemetry-operator-containerAssignee: Leif Madsen <lmadsen>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: medium Docs Contact: Joanne O'Flynn <joflynn>
Priority: medium    
Version: 1.3CC: joflynn, lnatapov
Target Milestone: z2Keywords: Triaged
Target Release: 1.3 (STF)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: service-telemetry-operator-container-1.3.6-1 Doc Type: Enhancement
Doc Text:
With this release, the base image for Grafana can now be specified as part of the ServiceTelemetry manifest. You can use the `graphing.grafana.baseImage` parameter to override the default Grafana image used when deploying an instance of Grafana via the Service Telemetry Operator.
Story Points: ---
Clone Of: 1998551 Environment:
Last Closed: 2021-10-04 18:21:00 UTC Type: ---
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: 1998551    
Bug Blocks:    

Description Leif Madsen 2021-08-30 14:19:10 UTC
+++ This bug was initially created as a clone of Bug #1998551 +++

Description of problem: It's not possible to easily override the baseImage used by Grafana Operator from the ServiceTelemetry object. This results in issues with the default base image with our dashboards. Also because the default image is on docker.io it can cause issues with access to the image due to quotas.

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

Additional info:

* needs a default value to be specified that matches our current dashboards (Grafana 8.x)
* needs baseImage parameter to be added to the `grafana` spec in ServiceTelemetry
* provide UI hints in the CSV
* update documentation

Comment 1 Leif Madsen 2021-09-10 22:55:18 UTC
Merged in https://github.com/infrawatch/service-telemetry-operator/pull/254.

Still needs documentation update.

Comment 2 Leif Madsen 2021-09-10 22:57:33 UTC
Cherry pick at https://github.com/infrawatch/service-telemetry-operator/pull/261 for STF 1.3.

Comment 5 Leif Madsen 2021-09-29 13:21:20 UTC
I have tested this and can verify deployment of Grafana was possible using an alternate image passed via `graphing.grafana.baseImage`.

Comment 10 errata-xmlrpc 2021-10-04 18:21:00 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 (Release of components for Service Telemetry Framework 1.3.2 - Container Images), 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-2021:3721