From 42cb58acc5a95a9ca8d4bf6e06f90571580978c6 Mon Sep 17 00:00:00 2001 From: Konstantin Grachev Date: Tue, 15 Nov 2022 21:57:31 +0300 Subject: [PATCH] Fix configMapRef is a map --- templates/n8n-deployment.yaml | 2 +- templates/webhook-deployment.yaml | 2 +- templates/worker-deployment.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/n8n-deployment.yaml b/templates/n8n-deployment.yaml index 7dc48da..372dfa2 100644 --- a/templates/n8n-deployment.yaml +++ b/templates/n8n-deployment.yaml @@ -32,7 +32,7 @@ spec: imagePullPolicy: {{ .Values.n8n.image.pullPolicy }} envFrom: - configMapRef: - - name: {{ include "n8n.fullname" . }} + name: {{ include "n8n.fullname" . }} {{- if .Values.n8n.extraEnvVarsSecret }} - secretRef: name: {{ .Values.n8n.extraEnvVarsSecret }} diff --git a/templates/webhook-deployment.yaml b/templates/webhook-deployment.yaml index d4a9635..846484b 100644 --- a/templates/webhook-deployment.yaml +++ b/templates/webhook-deployment.yaml @@ -34,7 +34,7 @@ spec: imagePullPolicy: {{ .Values.webhook.image.pullPolicy }} envFrom: - configMapRef: - - name: {{ include "n8n.fullname" . }} + name: {{ include "n8n.fullname" . }} {{- if .Values.webhook.extraEnvVarsSecret }} - secretRef: name: {{ .Values.webhook.extraEnvVarsSecret }} diff --git a/templates/worker-deployment.yaml b/templates/worker-deployment.yaml index be29523..25633f3 100644 --- a/templates/worker-deployment.yaml +++ b/templates/worker-deployment.yaml @@ -34,7 +34,7 @@ spec: imagePullPolicy: {{ .Values.worker.image.pullPolicy }} envFrom: - configMapRef: - - name: {{ include "n8n.fullname" . }} + name: {{ include "n8n.fullname" . }} {{- if .Values.worker.extraEnvVarsSecret }} - secretRef: name: {{ .Values.worker.extraEnvVarsSecret }}