3 Commits
0.1.1 ... 0.1.4

Author SHA1 Message Date
42cb58acc5 Fix configMapRef is a map
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-15 21:57:31 +03:00
60ed1e8fc5 Remove duplication of envFrom
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-15 21:55:01 +03:00
1129489739 fix configMap kind
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-15 21:53:19 +03:00
4 changed files with 4 additions and 8 deletions

View File

@ -1,11 +1,10 @@
{{- if not .Values.existingSecret }} {{- if not .Values.existingSecret }}
apiVersion: v1 apiVersion: v1
kind: Secret kind: ConfigMap
metadata: metadata:
name: {{ include "n8n.fullname" . }} name: {{ include "n8n.fullname" . }}
labels: labels:
{{- include "n8n.labels" . | nindent 4 }} {{- include "n8n.labels" . | nindent 4 }}
type: Opaque
data: data:
NODE_ENV: {{ .Values.config.node_env | quote }} NODE_ENV: {{ .Values.config.node_env | quote }}
WEBHOOK_URL: {{ .Values.config.webhook_url | quote }} WEBHOOK_URL: {{ .Values.config.webhook_url | quote }}

View File

@ -32,8 +32,7 @@ spec:
imagePullPolicy: {{ .Values.n8n.image.pullPolicy }} imagePullPolicy: {{ .Values.n8n.image.pullPolicy }}
envFrom: envFrom:
- configMapRef: - configMapRef:
- name: {{ include "n8n.fullname" . }} name: {{ include "n8n.fullname" . }}
envFrom:
{{- if .Values.n8n.extraEnvVarsSecret }} {{- if .Values.n8n.extraEnvVarsSecret }}
- secretRef: - secretRef:
name: {{ .Values.n8n.extraEnvVarsSecret }} name: {{ .Values.n8n.extraEnvVarsSecret }}

View File

@ -34,8 +34,7 @@ spec:
imagePullPolicy: {{ .Values.webhook.image.pullPolicy }} imagePullPolicy: {{ .Values.webhook.image.pullPolicy }}
envFrom: envFrom:
- configMapRef: - configMapRef:
- name: {{ include "n8n.fullname" . }} name: {{ include "n8n.fullname" . }}
envFrom:
{{- if .Values.webhook.extraEnvVarsSecret }} {{- if .Values.webhook.extraEnvVarsSecret }}
- secretRef: - secretRef:
name: {{ .Values.webhook.extraEnvVarsSecret }} name: {{ .Values.webhook.extraEnvVarsSecret }}

View File

@ -34,8 +34,7 @@ spec:
imagePullPolicy: {{ .Values.worker.image.pullPolicy }} imagePullPolicy: {{ .Values.worker.image.pullPolicy }}
envFrom: envFrom:
- configMapRef: - configMapRef:
- name: {{ include "n8n.fullname" . }} name: {{ include "n8n.fullname" . }}
envFrom:
{{- if .Values.worker.extraEnvVarsSecret }} {{- if .Values.worker.extraEnvVarsSecret }}
- secretRef: - secretRef:
name: {{ .Values.worker.extraEnvVarsSecret }} name: {{ .Values.worker.extraEnvVarsSecret }}