Files
HelmChartSammlung/charts/paperless-ai/templates/configmap.yaml
Marko Oldenburg f3fbaf942e
All checks were successful
Build Helm Chart / helm-package (push) Successful in 4s
refactor: move Helm chart to standard directory structure
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.
2025-06-27 08:43:57 +02:00

23 lines
615 B
YAML

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 }}