From 341786987c31ce33f0e1f7283f90e5c862072507 Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Wed, 5 Jul 2023 17:38:35 +0200
Subject: [PATCH] add notes

---
 rshiny/Chart.yaml          |  2 +-
 rshiny/templates/NOTES.txt | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 rshiny/templates/NOTES.txt

diff --git a/rshiny/Chart.yaml b/rshiny/Chart.yaml
index aec402a..685bdeb 100644
--- a/rshiny/Chart.yaml
+++ b/rshiny/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.4.1
+version: 0.4.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/rshiny/templates/NOTES.txt b/rshiny/templates/NOTES.txt
new file mode 100644
index 0000000..1e21372
--- /dev/null
+++ b/rshiny/templates/NOTES.txt
@@ -0,0 +1,19 @@
+The application will be up shortly at:
+
+https://{{ .Values.ingress.hostname }}
+
+Settings:
+- Image used: {{ .Values.imageFullNameAndTag }}
+- Ressources: {{ .Values.resources.requests.cpu}} and {{ .Values.resources.requests.memory}}, limits are {{ .Values.resources.limits.cpu}} and {{ .Values.resources.limits.memory}}
+{{- if .Values.autoscaling.enabled }}
+- Autoscaling is enabled
+{{- end}}
+{{- if .Values.nodowntime.enabled }}
+- Nodowntime is enabled (keep in mind that quota must thus be twice your resources.limits)
+{{- end}}
+{{- if .Values.registry.private }}
+- Registry is private
+{{- end}}
+{{- if .Values.shinyServer.enforceCommand }}
+- Image command is overridden to "shiny-server"
+{{- end}}
-- 
GitLab