From 02cd4da73bc5462025c774a1028b01af0e778f67 Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Wed, 12 Jun 2024 16:45:22 +0200
Subject: [PATCH] indicates when storage is enabled

---
 shiny-server/Chart.yaml          | 2 +-
 shiny-server/templates/NOTES.txt | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/shiny-server/Chart.yaml b/shiny-server/Chart.yaml
index 56ecbdc..839185e 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.0
+version: 0.7.1
 
 # 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/NOTES.txt b/shiny-server/templates/NOTES.txt
index 33bd1a4..13352d2 100644
--- a/shiny-server/templates/NOTES.txt
+++ b/shiny-server/templates/NOTES.txt
@@ -14,6 +14,10 @@ Settings:
 {{- if .Values.registry.private }}
 - Registry is private
 {{- end}}
+{{- if .Values.storage.enabled }}
+- Persistent storage is enabled, mounted to /srv/shiny-server/www/persistent and /srv/shiny-server/data.
+  Total disk space is {{ .Values.storage.size }}
+{{- end}}
 
 The documentation of the package deploying your application in kubernetes is available at
 https://hub.pages.pasteur.fr/shiny-k8s/user_guide
-- 
GitLab