From 83fb30b4ed757d50b9f53bf3eba3de9cc38e0b55 Mon Sep 17 00:00:00 2001 From: Jon Date: Sat, 23 Sep 2023 15:28:58 +0930 Subject: [PATCH] feat(prometheus): add storage to values !1 --- templates/Prometheus-prometheus.yaml | 2 +- values.yaml | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/templates/Prometheus-prometheus.yaml b/templates/Prometheus-prometheus.yaml index d526374..66dacd0 100644 --- a/templates/Prometheus-prometheus.yaml +++ b/templates/Prometheus-prometheus.yaml @@ -49,6 +49,6 @@ spec: serviceAccountName: prometheus-k8s serviceMonitorNamespaceSelector: {} serviceMonitorSelector: {} - + storage: {{- toYaml .Values.nfc_monitoring.prometheus.affinity | nindent 4 }} version: 2.42.0 diff --git a/values.yaml b/values.yaml index 6982795..769af8d 100644 --- a/values.yaml +++ b/values.yaml @@ -107,6 +107,15 @@ nfc_monitoring: topologyKey: kubernetes.io/hostname weight: 10 + storage: + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 40Gi + prometheus_adaptor: