Remove storageClass 'Standard' and let it be set automatically

This commit is contained in:
Lucas Hahn 2020-10-09 09:24:08 +02:00
parent 8f70a4b9a0
commit 032b0327eb
2 changed files with 3 additions and 2 deletions

View File

@ -109,7 +109,9 @@ spec:
{{- range .Values.persistence.accessModes }}
- {{ . | quote }}
{{- end }}
storageClassName: {{ .Values.persistence.storageClass | default "standard" | quote }}
{{- if .Values.persistence.storageClass }}
storageClassName: {{ .Values.persistence.storageClass | quote }}
{{- end }}
resources:
requests:
storage: {{ .Values.persistence.size | quote }}

View File

@ -66,7 +66,6 @@ persistence:
size: 10Gi
accessModes:
- ReadWriteOnce
storageClass: standard
gitea:
admin: