Let storageClass be set automatically (#45)

Merge branch 'master' into master

Bump chart version and add gitea/helm-chart as link for artifacthub

Remove default value for storageClass

Remove storageClass 'Standard' and let it be set automatically

Co-authored-by: Lucas Hahn <[email protected]>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/45
Reviewed-by: techknowlogick <[email protected]>
Reviewed-by: Andrew Thornton <[email protected]>
Co-Authored-By: luhahn <[email protected]>
Co-Committed-By: luhahn <[email protected]>
This commit is contained in:
luhahnandLucas Hahn committed 2020-10-30 01:10:10 +08:00
1 parent ed0ce3d192
commit f62b82e956
4 files changed
+6 -4

No files matched your search

+3 -1
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 }}