Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-3640

Convert swatch-mock-prometheus into a test component

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • 2025-07-08 - API
    • None
    • None
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • True

      At the moment, we have a clowdapp named "swatch-mock-prometheus" which is defined in https://github.com/RedHatInsights/rhsm-subscriptions/blob/main/swatch-metrics/deploy/mock-prometheus-clowdapp.yaml

      This component uses a real Prometheus instance using the image "quay.io/prometheus/prometheus:latest" which might not be secured.

      To ensure the prometheus image is secured, we need to create a new GitHub repository in RedHatInsights, similarly to https://github.com/RedHatInsights/wiremock-consoledot.
      Then, register the new component in app-interface and deploy this prometheus component in ephemeral environments only.

      Acceptance Criteria

      • Create new GitHub repository for prometheus and configure all the need to build the image (same pattern than wiremock-consoledot)
      • Add the new component to app-interface and deploy it in ephemeral environments only
      • Register the component in Konflux as well
      • Prometheus is deployed on top of RHEL UBI
      • There should be no test changes needed as this is replacing the underlying container image for the prometheus instance with one that should behave identically. 

              jcarvaja@redhat.com Jose Carvajal Hilario
              jcarvaja@redhat.com Jose Carvajal Hilario
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: