-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
3
-
False
-
None
-
False
-
Yes
-
-
-
RHOAM Sprint 46, RHOAM Sprint 47
WHY
As we are removing Grafana Operator we need to manage dashboards and we decided that instead of creating dashboards CRs we could create a ConfigMap and then through api call work with them. This will enhance organisation and make it easier to manage different dashboards for RHOAM and 3scale.
WHAT
We need a single ConfigMap that will store the dashboards in rhoam (rate limiting). This will involve following the guidance provided in the previous JIRA for creating and testing the ConfigMap. Later we will do it for 3scale and workload-web-app dashboards.
HOW
Begin by referencing the instructions in the previous JIRA for guidance on how to create new grafana project. Gather the necessary dashboards CRs. Create a new ConfigMap YAML, using the gathered data and configurations. Apply the ConfigMap to the cluster and make sure it works.
We can create this CM directly in the Package Operator with the contents of this [file|https://github.com/integr8ly/integreatly-operator/blob/master/pkg/products/grafana/customerDashboard.go.] Inject params before api call.
TESTS
Confirm that the ConfigMap has been successfully created in the cluster.
Verify that the rate limiting dashboard configurations are correctly embedded within the ConfigMap.
DONE
We should have a functioning ConfigMap that contains the rate limiting dashboard configurations.