-
Task
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
5
-
False
-
-
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.
- blocks
-
SWATCH-3641 Document how to run component tests locally for SWATCH metrics using the prometheus component
-
- Backlog
-
- mentioned on