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:
22
charts/paperless-ai/templates/configmap.yaml
Normal file
22
charts/paperless-ai/templates/configmap.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "paperless-ai.fullname" . }}-config
|
||||
labels:
|
||||
{{- include "paperless-ai.labels" . | nindent 4 }}
|
||||
data:
|
||||
{{- if .Values.paperless.apiUrl }}
|
||||
PAPERLESS_API_URL: "{{ .Values.paperless.apiUrl }}"
|
||||
{{- end }}
|
||||
{{- if .Values.aiProvider }}
|
||||
AI_PROVIDER: "{{ .Values.aiProvider }}"
|
||||
{{- end }}
|
||||
{{- if .Values.ollama.apiUrl }}
|
||||
OLLAMA_API_URL: "{{ .Values.ollama.apiUrl }}"
|
||||
{{- end }}
|
||||
{{- if .Values.ollama.model }}
|
||||
OLLAMA_MODEL: "{{ .Values.ollama.model }}"
|
||||
{{- end }}
|
||||
{{- if .Values.scanInterval }}
|
||||
SCAN_INTERVAL: "{{ .Values.scanInterval }}"
|
||||
{{- end }}
|
Reference in New Issue
Block a user