helm-charts/mastodon/templates/pvc-system.yaml

17 lines
499 B
YAML
Raw Normal View History

{{- if (not .Values.mastodon.s3.enabled) -}}
2021-02-09 23:28:44 +00:00
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ template "mastodon.fullname" . }}-system
labels:
{{- include "mastodon.labels" . | nindent 4 }}
spec:
accessModes:
2021-08-09 14:16:20 +00:00
- {{ .Values.mastodon.persistence.system.accessMode }}
{{- with .Values.mastodon.persistence.system.resources }}
2021-02-09 23:28:44 +00:00
resources:
{{- toYaml . | nindent 4 }}
{{- end }}
2021-08-09 14:16:20 +00:00
storageClassName: {{ .Values.mastodon.persistence.system.storageClassName }}
{{- end }}