3 Commits

Author SHA1 Message Date
0fa2dac744 add redis.enabled to values.yaml
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-15 22:51:53 +03:00
3f46388a06 add command for webhook and worker
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-15 22:46:38 +03:00
3c787efb0a Remove unnecessary node_env 2022-11-15 22:45:02 +03:00
4 changed files with 9 additions and 2 deletions

View File

@ -6,7 +6,6 @@ metadata:
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 }}

View File

@ -32,6 +32,9 @@ spec:
{{- toYaml .Values.webhook.securityContext | nindent 12 }}
image: "{{ .Values.webhook.image.registry }}/{{ .Values.webhook.image.repository }}:{{ .Values.webhook.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.webhook.image.pullPolicy }}
command:
- n8n
- webhook
envFrom:
- configMapRef:
name: {{ include "n8n.fullname" . }}

View File

@ -32,6 +32,9 @@ spec:
{{- toYaml .Values.worker.securityContext | nindent 12 }}
image: "{{ .Values.worker.image.registry }}/{{ .Values.worker.image.repository }}:{{ .Values.worker.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.worker.image.pullPolicy }}
command:
- n8n
- worker
envFrom:
- configMapRef:
name: {{ include "n8n.fullname" . }}

View File

@ -11,7 +11,6 @@ config:
encryption_key: ""
timezone: Europe/Moscow
webhook_url: ""
node_env: production
executions:
process: main
data:
@ -25,6 +24,9 @@ config:
builtin: '*'
external: '*'
redis:
enabled: 'false'
existingSecret: ""
nameOverride: ""