diff --git a/clusters/cl01tl/helm/foldergram/templates/_helpers.tpl b/clusters/cl01tl/helm/foldergram/templates/_helpers.tpl index d090d319c..796ad69ab 100644 --- a/clusters/cl01tl/helm/foldergram/templates/_helpers.tpl +++ b/clusters/cl01tl/helm/foldergram/templates/_helpers.tpl @@ -16,6 +16,6 @@ app.kubernetes.io/part-of: {{ .Release.Name }} {{/* NFS names */}} -{{- define "custom.storageNfsName" -}} -foldergram-pictures-collections-nfs-storage +{{- define "custom.storageMiaNfsName" -}} +foldergram-pictures-collection-mia-nfs-storage {{- end -}} diff --git a/clusters/cl01tl/helm/foldergram/templates/persistent-volume-claim.yaml b/clusters/cl01tl/helm/foldergram/templates/persistent-volume-claim.yaml index 7652a28b7..d87ed73c4 100644 --- a/clusters/cl01tl/helm/foldergram/templates/persistent-volume-claim.yaml +++ b/clusters/cl01tl/helm/foldergram/templates/persistent-volume-claim.yaml @@ -1,13 +1,13 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: {{ include "custom.storageNfsName" . }} + name: {{ include "custom.storageMiaNfsName" . }} namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: {{ include "custom.storageNfsName" . }} + app.kubernetes.io/name: {{ include "custom.storageMiaNfsName" . }} {{- include "custom.labels" . | nindent 4 }} spec: - volumeName: {{ include "custom.storageNfsName" . }} + volumeName: {{ include "custom.storageMiaNfsName" . }} storageClassName: nfs-client accessModes: - ReadWriteMany diff --git a/clusters/cl01tl/helm/foldergram/templates/persistent-volume.yaml b/clusters/cl01tl/helm/foldergram/templates/persistent-volume.yaml index 185b9aa3d..118c40fd9 100644 --- a/clusters/cl01tl/helm/foldergram/templates/persistent-volume.yaml +++ b/clusters/cl01tl/helm/foldergram/templates/persistent-volume.yaml @@ -1,10 +1,10 @@ apiVersion: v1 kind: PersistentVolume metadata: - name: {{ include "custom.storageNfsName" . }} + name: {{ include "custom.storageMiaNfsName" . }} namespace: {{ .Release.Namespace }} labels: - app.kubernetes.io/name: {{ include "custom.storageNfsName" . }} + app.kubernetes.io/name: {{ include "custom.storageMiaNfsName" . }} {{- include "custom.labels" . | nindent 4 }} spec: persistentVolumeReclaimPolicy: Retain diff --git a/clusters/cl01tl/helm/foldergram/values.yaml b/clusters/cl01tl/helm/foldergram/values.yaml index 0b3e64cbe..445d998d6 100644 --- a/clusters/cl01tl/helm/foldergram/values.yaml +++ b/clusters/cl01tl/helm/foldergram/values.yaml @@ -76,12 +76,12 @@ foldergram: main: - path: /app/data readOnly: false - pictures: - existingClaim: foldergram-pictures-collections-nfs-storage + pictures-mia: + existingClaim: foldergram-pictures-collection-mia-nfs-storage advancedMounts: main: main: - - path: /gallery + - path: '/gallery/Minneapolis Institute of Art' readOnly: true volsync-target-db: pvcTarget: foldergram-db