From 3f46388a060663d4f389edb9500ce094bd85fba0 Mon Sep 17 00:00:00 2001 From: Konstantin Grachev Date: Tue, 15 Nov 2022 22:46:38 +0300 Subject: [PATCH] add command for webhook and worker --- templates/webhook-deployment.yaml | 3 +++ templates/worker-deployment.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/templates/webhook-deployment.yaml b/templates/webhook-deployment.yaml index 846484b..73d60c8 100644 --- a/templates/webhook-deployment.yaml +++ b/templates/webhook-deployment.yaml @@ -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" . }} diff --git a/templates/worker-deployment.yaml b/templates/worker-deployment.yaml index 25633f3..7bd57be 100644 --- a/templates/worker-deployment.yaml +++ b/templates/worker-deployment.yaml @@ -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" . }}