Uploaded image for project: 'Managed Service - API'
  1. Managed Service - API
  2. MGDAPI-6009

Create a ConfigMap for the dashboards

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • 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.

            vmogilev_rhmi Valery Mogilevsky
            rh-ee-akramar Anna Kramar (Inactive)
            Carl Kyrillos Carl Kyrillos
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: