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