about summary refs log tree commit diff
path: root/chart/templates/pvc-assets.yaml
blob: 58b2179df0c8dcda2724e95a123b3b8eebc9c4d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{- if (not .Values.mastodon.s3.enabled) }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: {{ template "mastodon.fullname" . }}-assets
  labels:
    {{- include "mastodon.labels" . | nindent 4 }}
spec:
  accessModes:
    - {{ .Values.mastodon.persistence.system.accessMode }}
  resources:
    {{- toYaml .Values.mastodon.persistence.assets.resources | nindent 4}}
  storageClassName: {{ .Values.mastodon.persistence.assets.storageClassName }}
{{- end }}