From 1419deb729f25842038a23a42b9192fbd8a622ee Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Mon, 3 Aug 2020 15:51:44 +0100 Subject: [PATCH] Fix scope of prometheus options --- charts/kubezero-metrics/values.yaml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/charts/kubezero-metrics/values.yaml b/charts/kubezero-metrics/values.yaml index a07e0ef5..331ee26f 100644 --- a/charts/kubezero-metrics/values.yaml +++ b/charts/kubezero-metrics/values.yaml @@ -60,20 +60,21 @@ prometheus-operator: prometheus: enabled: true - retention: 10d - resources: - requests: - memory: 512Mi + prometheusSpec: + retention: 10d + resources: + requests: + memory: 512Mi - storageSpec: - volumeClaimTemplate: - spec: - storageClassName: ebs-sc-gp2-xfs - accessModes: ["ReadWriteOnce"] - resources: - requests: - storage: 8Gi + storageSpec: + volumeClaimTemplate: + spec: + storageClassName: ebs-sc-gp2-xfs + accessModes: ["ReadWriteOnce"] + resources: + requests: + storage: 8Gi # Metrics adapter prometheus-adapter: