From 60ed1e8fc50236cc7288c835c3854c3b5ecb065f Mon Sep 17 00:00:00 2001 From: Konstantin Grachev Date: Tue, 15 Nov 2022 21:55:01 +0300 Subject: [PATCH] Remove duplication of `envFrom` --- templates/n8n-deployment.yaml | 1 - templates/webhook-deployment.yaml | 1 - templates/worker-deployment.yaml | 1 - 3 files changed, 3 deletions(-) diff --git a/templates/n8n-deployment.yaml b/templates/n8n-deployment.yaml index 6374e3b..7dc48da 100644 --- a/templates/n8n-deployment.yaml +++ b/templates/n8n-deployment.yaml @@ -33,7 +33,6 @@ spec: envFrom: - configMapRef: - name: {{ include "n8n.fullname" . }} - envFrom: {{- if .Values.n8n.extraEnvVarsSecret }} - secretRef: name: {{ .Values.n8n.extraEnvVarsSecret }} diff --git a/templates/webhook-deployment.yaml b/templates/webhook-deployment.yaml index bb2bfdd..d4a9635 100644 --- a/templates/webhook-deployment.yaml +++ b/templates/webhook-deployment.yaml @@ -35,7 +35,6 @@ spec: envFrom: - configMapRef: - name: {{ include "n8n.fullname" . }} - envFrom: {{- if .Values.webhook.extraEnvVarsSecret }} - secretRef: name: {{ .Values.webhook.extraEnvVarsSecret }} diff --git a/templates/worker-deployment.yaml b/templates/worker-deployment.yaml index 0318781..be29523 100644 --- a/templates/worker-deployment.yaml +++ b/templates/worker-deployment.yaml @@ -35,7 +35,6 @@ spec: envFrom: - configMapRef: - name: {{ include "n8n.fullname" . }} - envFrom: {{- if .Values.worker.extraEnvVarsSecret }} - secretRef: name: {{ .Values.worker.extraEnvVarsSecret }}