Hexo-Async-Offends/chart/templates/pvc.yaml
offends f81564f8a0
All checks were successful
continuous-integration/drone Build is passing
synchronization
2024-07-19 12:43:24 +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 }}