Open zachariahmiller opened 1 month ago
moved to blocked as this:
.spec.endpoints[].bearerTokenSecret
to be defined as part of the uds-package monitoring spec.will need to happen first. I will create an issue in uds-core for it.
Linking to here: https://github.com/defenseunicorns/uds-core/issues/417
Describe what should be investigated or refactored
We need to validate that monitoring is setup correctly for SonarQube when on top of uds-core. Links to any relevant code
https://github.com/defenseunicorns/uds-core/issues/17
Additional context
This should just using the monitoring stack from uds-core
Additional context based on initial research:
SonarQube doesnt use a service monitor or expose the monitoring endpoints as part of the service, rather it uses a pod monitor. Additionally, out of the box it does not expose the monitoring ports or even include the necessary jar to emit metrics for Prometheus.
The current helm chart curls the jar from maven, which will not work in an airgap.
The repo1 helm chart does not have the pod monitor in the templates, only upstream.
extraInitContainers:
andvolumes:
so this should be feasible..spec.endpoints[].bearerTokenSecret
to be defined as part of the uds-package monitoring spec.