This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2021-02-19 09:52:32 +01:00
|
|
|
{{- if (not .Values.mastodon.s3.enabled) }}
|
2020-06-29 13:58:48 +02:00
|
|
|
apiVersion: v1
|
|
|
|
kind: PersistentVolumeClaim
|
|
|
|
metadata:
|
|
|
|
name: {{ template "mastodon.fullname" . }}-system
|
|
|
|
labels:
|
|
|
|
{{- include "mastodon.labels" . | nindent 4 }}
|
|
|
|
spec:
|
|
|
|
accessModes:
|
2021-02-15 08:00:54 +01:00
|
|
|
- {{ .Values.mastodon.persistence.system.accessMode }}
|
2020-06-29 13:58:48 +02:00
|
|
|
resources:
|
2021-02-15 08:00:54 +01:00
|
|
|
{{- toYaml .Values.mastodon.persistence.system.resources | nindent 4}}
|
|
|
|
storageClassName: {{ .Values.mastodon.persistence.system.storageClassName }}
|
2021-02-19 09:52:32 +01:00
|
|
|
{{- end }}
|