From fdeb15155da5c04ef3e8173cde891f0d07db86f2 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Sun, 17 Oct 2021 01:15:53 +0200
Subject: [PATCH] prometheus: Add persistent storage to monitoring

---
 infrastructure/prometheus/release.yaml | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/infrastructure/prometheus/release.yaml b/infrastructure/prometheus/release.yaml
index 70a727f0a..ca78dcb96 100644
--- a/infrastructure/prometheus/release.yaml
+++ b/infrastructure/prometheus/release.yaml
@@ -2308,17 +2308,14 @@ spec:
         ## Prometheus StorageSpec for persistent data
         ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/user-guides/storage.md
         ##
-        storageSpec: {}
-        ## Using PersistentVolumeClaim
-        ##
-        #  volumeClaimTemplate:
-        #    spec:
-        #      storageClassName: gluster
-        #      accessModes: ["ReadWriteOnce"]
-        #      resources:
-        #        requests:
-        #          storage: 50Gi
-        #    selector: {}
+        storageSpec:
+          volumeClaimTemplate:
+            spec:
+              storageClassName: ceph-block
+              accessModes: ["ReadWriteOnce"]
+              resources:
+                requests:
+                  storage: 5Gi
 
         ## Using tmpfs volume
         ##
-- 
GitLab