diff --git a/templates/Prometheus-prometheus.yaml b/templates/Prometheus-prometheus.yaml index c2741b6..7fa909e 100644 --- a/templates/Prometheus-prometheus.yaml +++ b/templates/Prometheus-prometheus.yaml @@ -59,3 +59,6 @@ spec: name: thanos-sidecar-config {{ end }} version: 2.42.0 + {{ if .Values.nfc_monitoring.prometheus.additional }} + {{ toYaml .Values.nfc_monitoring.prometheus.additional | nindent 2 }} + {{ end }} diff --git a/values.yaml b/values.yaml index a76b175..ae33cd5 100644 --- a/values.yaml +++ b/values.yaml @@ -167,6 +167,14 @@ nfc_monitoring: requests: storage: 40Gi + # Additional settings for Prometheus. + # See: https://prometheus-operator.dev/docs/operator/api/#monitoring.coreos.com/v1.PrometheusSpec + additional: {} + + # remoteWrite: + # - name: mimir + # url: http://mimir-gateway.metrics.svc.cluster.local/api/v1/push + prometheus_adaptor: