Hexo-Async-Offends/chart/templates/pvc.yaml
2024-07-19 15:54:23 +08:00

19 lines
392 B
YAML

{{- if .Values.global.enabled -}}
apiVersion: v1
kind: List
items:
{{- range .Values.global.pvcConfigs }}
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ .name }}
spec:
accessModes:
- {{ .accessModes }}
storageClassName: {{ .storageClass }}
resources:
requests:
storage: {{ .storage }}
{{- end }}
{{- end }}