From 16500fc632c0fefe0eaaa982becad6995f0ed4c0 Mon Sep 17 00:00:00 2001 From: Nikita Churikov Date: Fri, 23 Aug 2024 15:44:12 +0200 Subject: [PATCH] add site dir to values.yaml --- apps/shinyproxy/templates/shiny-configmap.yaml | 2 +- apps/shinyproxy/values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/shinyproxy/templates/shiny-configmap.yaml b/apps/shinyproxy/templates/shiny-configmap.yaml index 1531c11..32c4455 100644 --- a/apps/shinyproxy/templates/shiny-configmap.yaml +++ b/apps/shinyproxy/templates/shiny-configmap.yaml @@ -15,7 +15,7 @@ data: # Define a location at the base URL location / { # Host the directory of Shiny Apps stored in this directory - site_dir /srv/shiny-server; + site_dir {{ .Values.appconfig.site_dir }}; # Log all Shiny output to files in this directory log_dir /var/log/shiny-server; # When a user visits the base URL rather than a particular application, diff --git a/apps/shinyproxy/values.yaml b/apps/shinyproxy/values.yaml index a732d94..955f7d6 100644 --- a/apps/shinyproxy/values.yaml +++ b/apps/shinyproxy/values.yaml @@ -12,6 +12,7 @@ appconfig: minimumSeatsAvailable: 1 seatsPerContainer: 1 allowContainerReuse: false + site_dir: /srv/shiny-server global: