feat(prometheus): ability to add additional config settings

settings are pertinent to the kubernetes prometheus object used by the prom operator.

!2 #1
This commit is contained in:
2023-09-28 00:27:49 +09:30
parent ac812c2c7b
commit 239837ecbf
2 changed files with 11 additions and 0 deletions

View File

@ -59,3 +59,6 @@ spec:
name: thanos-sidecar-config name: thanos-sidecar-config
{{ end }} {{ end }}
version: 2.42.0 version: 2.42.0
{{ if .Values.nfc_monitoring.prometheus.additional }}
{{ toYaml .Values.nfc_monitoring.prometheus.additional | nindent 2 }}
{{ end }}

View File

@ -167,6 +167,14 @@ nfc_monitoring:
requests: requests:
storage: 40Gi 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: prometheus_adaptor: