From 7e76c3810191f04b7d5c5f52d036cd23b12bb117 Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Wed, 12 Jun 2024 18:07:20 +0200
Subject: [PATCH] ceph-fs should be used in place of isilon

---
 shiny-server/Chart.yaml             | 2 +-
 shiny-server/templates/storage.yaml | 6 +++---
 shiny-server/values.yaml            | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/shiny-server/Chart.yaml b/shiny-server/Chart.yaml
index 839185e..ec90c80 100644
--- a/shiny-server/Chart.yaml
+++ b/shiny-server/Chart.yaml
@@ -15,7 +15,7 @@ type: application
 # This is the chart version. This version number should be incremented each time you make changes
 # to the chart and its templates, including the app version.
 # Versions are expected to follow Semantic Versioning (https://semver.org/)
-version: 0.7.1
+version: 0.7.2
 
 # This is the version number of the application being deployed. This version number should be
 # incremented each time you make changes to the application. Versions are not expected to
diff --git a/shiny-server/templates/storage.yaml b/shiny-server/templates/storage.yaml
index 4404b25..0510dd4 100644
--- a/shiny-server/templates/storage.yaml
+++ b/shiny-server/templates/storage.yaml
@@ -2,8 +2,8 @@
 {{- if and (eq .Values.storage.className "ceph-block") .Values.nodowntime.enabled }}
 {{- required "Using ceph-block storage is incompatible with nodowntime enabled." "" }}
 {{- end }}
-{{- if not (or (eq .Values.storage.className "ceph-block") (eq .Values.storage.className "isilon")) }}
-{{- required (printf "Storage class unkown (%s). Only isilon or ceph-block expected." .Values.storage.className) "" }}
+{{- if not (or (eq .Values.storage.className "ceph-fs") (eq .Values.storage.className "ceph-block") (eq .Values.storage.className "isilon")) }}
+{{- required (printf "Storage class unkown (%s). Only isilon, ceph-fs or ceph-block expected." .Values.storage.className) "" }}
 {{- end }}
 apiVersion: v1
 kind: PersistentVolumeClaim
@@ -21,5 +21,5 @@ spec:
   resources:
     requests:
       storage: {{ (default "1Gi" .Values.storage.size ) | quote }}
-  storageClassName: {{ (default "isilon" .Values.storage.className ) | quote }}
+  storageClassName: {{ (default "ceph-fs" .Values.storage.className ) | quote }}
 {{- end }}
\ No newline at end of file
diff --git a/shiny-server/values.yaml b/shiny-server/values.yaml
index 0d4190c..5d65acd 100644
--- a/shiny-server/values.yaml
+++ b/shiny-server/values.yaml
@@ -37,5 +37,5 @@ registry:
 storage:
   enabled: false
   size: "1Gi"
-  className: "isilon" # could be ceph-block, incompatible with nodowntime
+  className: "ceph-fs" # could be ceph-block, incompatible with nodowntime
   keepOnDelete: true
-- 
GitLab