about summary refs log tree commit diff
path: root/chart/templates/pvc-system.yaml
blob: 52398f0daf8f08ae37d6395986b22d3acfc0e1cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{- if (not .Values.mastodon.s3.enabled) }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: {{ template "mastodon.fullname" . }}-system
  labels:
    {{- include "mastodon.labels" . | nindent 4 }}
spec:
  accessModes:
    - {{ .Values.mastodon.persistence.system.accessMode }}
  resources:
    {{- toYaml .Values.mastodon.persistence.system.resources | nindent 4}}
  storageClassName: {{ .Values.mastodon.persistence.system.storageClassName }}
{{- end }}