Add n8n.extraEnvs

This commit is contained in:
Benjamin Mayrargue
2025-03-05 08:11:36 +01:00
parent 8513952b5e
commit 666fe01137
2 changed files with 11 additions and 4 deletions
+6 -1
View File
@@ -39,4 +39,9 @@ data:
N8N_LOG_LEVEL: {{ .Values.n8n.log_level | default "debug" | quote }} N8N_LOG_LEVEL: {{ .Values.n8n.log_level | default "debug" | quote }}
DB_LOGGING_ENABLED: {{ .Values.n8n.db_logging_enabled | default "true" | quote }} DB_LOGGING_ENABLED: {{ .Values.n8n.db_logging_enabled | default "true" | quote }}
DB_LOGGING_OPTIONS: {{ .Values.n8n.db_logging_options | default "all" | quote }} DB_LOGGING_OPTIONS: {{ .Values.n8n.db_logging_options | default "all" | quote }}
{{- with .Values.n8n.extraEnvs }}
{{- toYaml . | nindent 2 }}
{{- end }}
+5 -3
View File
@@ -27,9 +27,7 @@ redis:
n8n: n8n:
log_level: "debug" log_level: "debug"
timezone: "" timezone: ""
webhook: webhookUrl: "http://localhost"
# TODO: use default service url
url: http://localhost
auth: auth:
enabled: false enabled: false
username: "n8n" username: "n8n"
@@ -39,6 +37,10 @@ n8n:
enabled: true enabled: true
# prune old executions data after X hours # prune old executions data after X hours
max_age: "72" max_age: "72"
# Additional environment variables to add to the configmap
extraEnvs: {}
# CUSTOM_VAR1: "value1"
# CUSTOM_VAR2: "value2"
# values for PostgreSql helm chart # values for PostgreSql helm chart
postgresql: postgresql: