refactor: move Helm chart to standard directory structure
All checks were successful
Build Helm Chart / helm-package (push) Successful in 4s
All checks were successful
Build Helm Chart / helm-package (push) Successful in 4s
This commit restructures the paperless-ai Helm chart by moving all files from the nested directory (charts/paperless-ai/paperless-ai/) to the standard Helm chart directory structure (charts/paperless-ai/). The change eliminates the redundant directory nesting that was causing issues with Helm chart packaging and installation. No functional changes were made to any files - this is purely a directory structure reorganization to follow Helm best practices and improve chart maintainability.
This commit is contained in:
15
charts/paperless-ai/templates/dataPvc.yaml
Normal file
15
charts/paperless-ai/templates/dataPvc.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
{{- if .Values.persistence.data.enabled }}
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: {{ include "paperless-ai.fullname" . }}-pvc-data
|
||||
labels:
|
||||
{{- include "paperless-ai.labels" . | nindent 4 }}
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.persistence.data.size }}
|
||||
storageClassName: {{ .Values.persistence.data.storageClass }}
|
||||
{{- end }}
|
Reference in New Issue
Block a user