Skip to content
Snippets Groups Projects

Add storage

Merged Bryan BRANCOTTE requested to merge add-storage into helm
All threads resolved!
Files
4
@@ -39,6 +39,21 @@ spec:
- name: http
containerPort: 3838
protocol: TCP
{{- if and .Values.storage.enabled }}
volumeMounts:
- name: persistent-storage
mountPath: /srv/shiny-server/www/persistent
subPath: www
- name: persistent-storage
mountPath: /srv/shiny-server/data
subPath: data
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if and .Values.storage.enabled }}
volumes:
- name: persistent-storage
persistentVolumeClaim:
claimName: {{ include "chart.fullname" . }}
{{- end }}
---
\ No newline at end of file
Loading