diff --git a/charts/gitness/templates/deployment.yaml b/charts/gitness/templates/deployment.yaml index 0ea939d56..22739f0e0 100644 --- a/charts/gitness/templates/deployment.yaml +++ b/charts/gitness/templates/deployment.yaml @@ -92,23 +92,3 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} - {{- if .Values.storage.persistentVolume.enabled }} - volumeClaimTemplates: - - metadata: - name: datadir - {{- with .Values.storage.persistentVolume.annotations }} - annotations: {{- toYaml . | nindent 10 }} - {{- end }} - spec: - accessModes: "" - {{- if .Values.storage.persistentVolume.storageClass }} - {{- if (eq "-" .Values.storage.persistentVolume.storageClass) }} - storageClassName: "" - {{- else }} - storageClassName: {{ .Values.storage.persistentVolume.storageClass | quote}} - {{- end }} - {{- end }} - resources: - requests: - storage: {{ .Values.storage.persistentVolume.size | quote }} - {{- end }} \ No newline at end of file