From 9a46d7de82d52078372ef65f1920be1632c0d3a3 Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Mon, 9 Dec 2024 14:09:19 -0800 Subject: [PATCH] fix: helm chart fix (#3590) --- charts/gitness/templates/deployment.yaml | 20 -------------------- 1 file changed, 20 deletions(-) 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