Fixing statefulset template

This commit is contained in:
Jonathan Ervine 2020-09-01 22:01:32 +08:00
parent b2d5ded999
commit d4b194fd7c
3 changed files with 10 additions and 12 deletions

View File

@ -14,7 +14,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
version: 0.1.0 version: 0.1.1
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. # incremented each time you make changes to the application.

View File

@ -69,14 +69,12 @@ spec:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
volumeClaimTemplates: volumeClaimTemplates:
- apiVersion: v1 - metadata:
kind: PersistentVolumeClaim name: gitea-pv
metadata: spec:
name: gitea-pv accessModes:
spec: - ReadWriteOnce
accessModes: resources:
- ReadWriteOnce requests:
resources: storage: {{ .Values.config.storageSize }}
requests: storageClassName: {{ .Values.config.storageClassName | quote }}
storage: {{ .Values.config.storageSize }}
storageClassName: {{ .Values.config.storageClassName | quote }}

Binary file not shown.