2022-11-11 00:24:39 +02:00
|
|
|
{{- if (not .Values.mastodon.s3.enabled) -}}
|
2020-06-29 14:58:48 +03:00
|
|
|
apiVersion: v1
|
|
|
|
kind: PersistentVolumeClaim
|
|
|
|
metadata:
|
|
|
|
name: {{ template "mastodon.fullname" . }}-system
|
|
|
|
labels:
|
|
|
|
{{- include "mastodon.labels" . | nindent 4 }}
|
|
|
|
spec:
|
|
|
|
accessModes:
|
2021-02-15 09:00:54 +02:00
|
|
|
- {{ .Values.mastodon.persistence.system.accessMode }}
|
2022-11-11 00:24:39 +02:00
|
|
|
{{- with .Values.mastodon.persistence.system.resources }}
|
2020-06-29 14:58:48 +03:00
|
|
|
resources:
|
2022-11-11 00:24:39 +02:00
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
2021-02-15 09:00:54 +02:00
|
|
|
storageClassName: {{ .Values.mastodon.persistence.system.storageClassName }}
|
2021-02-19 10:52:32 +02:00
|
|
|
{{- end }}
|