mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
16 lines
499 B
YAML
16 lines
499 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 }}
|
|
{{- with .Values.mastodon.persistence.assets.resources }}
|
|
resources:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
storageClassName: {{ .Values.mastodon.persistence.assets.storageClassName }}
|
|
{{- end }}
|