6 Commits

Author SHA1 Message Date
2d2f9b48fd Remove v prefix from appVersion
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-15 22:04:03 +03:00
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
e673d59fdc Add redis dependency
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-15 21:50:32 +03:00
921e7948bc add EXECUTIONS_MODE 2022-11-15 21:49:36 +03:00
5 changed files with 13 additions and 9 deletions

View File

@ -3,10 +3,16 @@ name: n8n
description: A Helm chart for Kubernetes
type: application
version: 0.0.1
appVersion: v0.202.1
appVersion: 0.202.1
icon: https://github.com/n8n-io/n8n/raw/master/assets/n8n-logo.png
maintainers:
- email: me@grachevko.ru
name: Konstantin Grachev
sources:
- https://git.grachevko.ru/n8n/chart
dependencies:
- name: redis
version: ~16.4.0
repository: https://charts.bitnami.com/bitnami
alias: redis
condition: redis.enabled

View File

@ -1,14 +1,14 @@
{{- if not .Values.existingSecret }}
apiVersion: v1
kind: Secret
kind: ConfigMap
metadata:
name: {{ include "n8n.fullname" . }}
labels:
{{- include "n8n.labels" . | nindent 4 }}
type: Opaque
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 }}
GENERIC_TIMEZONE: {{ .Values.config.timezone | quote }}
EXECUTIONS_DATA_PRUNE: {{ .Values.config.executions.data.prune | quote }}
@ -16,4 +16,5 @@ data:
N8N_DIAGNOSTICS_ENABLED: {{ .Values.config.executions.data.max_age | quote }}
NODE_FUNCTION_ALLOW_BUILTIN: {{ .Values.config.node.function.allow.builtin | quote }}
NODE_FUNCTION_ALLOW_EXTERNAL: {{ .Values.config.node.function.allow.external | quote }}
QUEUE_BULL_REDIS_HOST: {{ include "n8n.fullname" . }}-redis
{{- end }}

View File

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

View File

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

View File

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