helm-charts/mastodon/templates/pvc-assets.yaml

15 lines
468 B
YAML
Raw Normal View History

2021-08-09 14:16:20 +00:00
{{- if (not .Values.mastodon.s3.enabled) }}
2021-02-09 23:28:44 +00:00
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ template "mastodon.fullname" . }}-assets
labels:
{{- include "mastodon.labels" . | nindent 4 }}
spec:
accessModes:
2021-08-09 14:16:20 +00:00
- {{ .Values.mastodon.persistence.system.accessMode }}
2021-02-09 23:28:44 +00:00
resources:
2021-08-09 14:16:20 +00:00
{{- toYaml .Values.mastodon.persistence.assets.resources | nindent 4}}
storageClassName: {{ .Values.mastodon.persistence.assets.storageClassName }}
{{- end }}