This repository has been archived on 2024-07-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
chart/templates/config.yaml
Konstantin Grachev 61f92c0075
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Add N8N_LOG_LEVEL and config.debug value
2022-11-15 22:22:59 +03:00

24 lines
996 B
YAML

{{- if not .Values.existingSecret }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "n8n.fullname" . }}
labels:
{{- include "n8n.labels" . | nindent 4 }}
data:
NODE_ENV: {{ .Values.config.node_env | quote }}
WEBHOOK_URL: {{ .Values.config.webhook_url | quote }}
EXECUTIONS_MODE: "queue"
EXECUTIONS_PROCESS: {{ .Values.config.executions.process | quote }}
GENERIC_TIMEZONE: {{ .Values.config.timezone | quote }}
EXECUTIONS_DATA_PRUNE: {{ .Values.config.executions.data.prune | quote }}
EXECUTIONS_DATA_MAX_AGE: {{ .Values.config.executions.data.max_age | quote }}
N8N_DIAGNOSTICS_ENABLED: {{ .Values.config.executions.data.max_age | quote }}
NODE_FUNCTION_ALLOW_BUILTIN: {{ .Values.config.node.function.allow.builtin | quote }}
NODE_FUNCTION_ALLOW_EXTERNAL: {{ .Values.config.node.function.allow.external | quote }}
QUEUE_BULL_REDIS_HOST: {{ include "n8n.fullname" . }}-redis
{{- if .Values.config.debug }}
N8N_LOG_LEVEL: debug
{{- end }}
{{- end }}