Hexo-Async-Offends/chart/templates/pvc.yaml

19 lines
392 B
YAML
Raw Normal View History

2024-07-19 09:09:37 +00:00
{{- 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 }}