mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-14 10:53:17 +00:00
15 lines
468 B
YAML
15 lines
468 B
YAML
{{- 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 }}
|