dirsigler / uptime-kuma-helm

This Helm Chart installs Uptime-Kuma from @louislam to your Kubernetes Cluster.
https://helm.irsigler.cloud
GNU General Public License v3.0
151 stars 53 forks source link

Create ServiceMonitor and Secret for Prometheus metrics endpoint #58

Closed dirsigler closed 1 year ago

dirsigler commented 2 years ago

The upstream project provides some basic Prometheus metrics which can be scrapped by Prometheus.

I am currently deepen my Prometheus knowledge and found a suitable solution which allows to scrape the Uptime-Kuma metrics. The additions would be manifests of type:

Reference: https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/basic-auth.md#basic-auth-for-targets

The Prometheus instance and Prometheus CRD configuration needs to be provided by the users of this Helm Chart.

druheendas commented 11 months ago

Can we add a feature in the helm chart, to use an existing secret, as to use this helm chart I will have to commit the API key in the values file of helm chart and push it to the VCS. We prefer using sealed secrets to encrypt secrets before pushing it to VCS.