Add media directory

This commit is contained in:
Jonathan Ervine 2020-07-28 20:40:45 +08:00
parent 1e7eb4e03b
commit 8728857c7a
3 changed files with 7 additions and 5 deletions

View File

@ -14,7 +14,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
version: 0.1.0 version: 0.1.1
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. # incremented each time you make changes to the application.

View File

@ -51,12 +51,12 @@ spec:
volumeMounts: volumeMounts:
- name: trans-config - name: trans-config
mountPath: /config mountPath: /config
- name: trans-tv - name: trans-media
mountPath: /tv mountPath: /media
volumes: volumes:
- name: trans-tv - name: trans-media
persistentVolumeClaim: persistentVolumeClaim:
claimName: transtv-pvc claimName: {{ .Values.mediaPvc }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View File

@ -71,3 +71,5 @@ affinity: {}
config: config:
storageClassName: nfs-client-hermes storageClassName: nfs-client-hermes
storageSize: 5Gi storageSize: 5Gi
mediaPvc: trans-media-pvc