Skip to content

Commit

Permalink
Shiny proxy volume (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredeen authored Aug 9, 2024
1 parent 56a3729 commit 38d8950
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/shinyproxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: shinyproxy
description: A Helm chart to install Shinyproxy
type: application
version: 1.2.2
version: 1.3.0
appVersion: "0.1"
maintainers:
- name: Team Whale
Expand Down
17 changes: 17 additions & 0 deletions apps/shinyproxy/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,21 @@ data:
- mountPath: /etc/shiny-server/shiny-server.conf
subPath: shiny-server.conf
name: {{ .Release.Name }}-shiny-configmap
{{ if .Values.apps.volumeK8s }}
- op: add
path: /spec/volumes/-
value:
{{- range $key, $value := .Values.apps.volumeK8s }}
- name: {{ $key }}
persistentVolumeClaim:
claimName: {{ $value.release }}
{{ end }}
- op: add
path: /spec/containers/0/volumeMounts/-
value:
{{- range $key, $value := .Values.apps.volumeK8s }}
- mountPath: {{ $.Values.appconfig.path }}
name: {{ $key }}
{{ end }}
{{ end }}
title: Serve Shiny Proxy
4 changes: 4 additions & 0 deletions apps/shinyproxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ appconfig:
proxyport: 8080
port: 3838
image:
path: /home
minimumSeatsAvailable: 2
seatsPerContainer: 3
allowContainerReuse: true
Expand All @@ -16,6 +17,9 @@ appconfig:
global:
domain: localhost

apps:
volumeK8s:

service:
name: shinyproxy-svc

Expand Down

0 comments on commit 38d8950

Please sign in to comment.