From 1babb12ecadb0200ac842669c50276d7b74ac118 Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Mon, 12 Feb 2024 14:23:26 +0100
Subject: [PATCH] no ceph block in dev

---
 deploy/templates/postgres-operator.yaml | 2 +-
 deploy/values.production.yaml           | 2 ++
 deploy/values.yaml                      | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/deploy/templates/postgres-operator.yaml b/deploy/templates/postgres-operator.yaml
index a888efb..7ea69dd 100644
--- a/deploy/templates/postgres-operator.yaml
+++ b/deploy/templates/postgres-operator.yaml
@@ -22,7 +22,7 @@ spec:
       log_statement: "{{ .Values.postgresql.log_statements | default "none" }}"
   volume:
     size: {{ .Values.postgresql.volume.size }}
-    storageClass: ceph-block
+    storageClass: {{ .Values.postgresql.volume.storageClass }}
   additionalVolumes:
     - name: empty
       mountPath: /opt/empty
diff --git a/deploy/values.production.yaml b/deploy/values.production.yaml
index 98fd1e8..72a0729 100644
--- a/deploy/values.production.yaml
+++ b/deploy/values.production.yaml
@@ -64,6 +64,8 @@ postgresql:
   teamId: "acid"
   volumne: 
     size: 4Gi
+    storageClass: ceph-block
+
   resources:
     requests:
       cpu: 1500m
diff --git a/deploy/values.yaml b/deploy/values.yaml
index 14ca758..d419496 100644
--- a/deploy/values.yaml
+++ b/deploy/values.yaml
@@ -96,6 +96,7 @@ postgresql:
   teamId: "acid"
   volume: 
     size: 1Gi
+    storageClass: isilon
   
 
 
-- 
GitLab