Hexo-Async-Offends/chart/templates/pvc.yaml
offends 05264b2511
Some checks reported errors
continuous-integration/drone Build was killed
synchronization
2024-07-19 15:47:10 +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 }}