14 Commits

Author SHA1 Message Date
744613584d fix N8N_DIAGNOSTICS_ENABLED var
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-16 14:17:58 +03:00
36532aef3b fix redis host
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-16 13:33:54 +03:00
a140216365 Remove *.tgz from .helmignore
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-16 13:26:41 +03:00
623fefe1d3 Add redis architecture and auth
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-16 12:38:07 +03:00
00f087b635 Remove redis alias
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-16 12:29:35 +03:00
5306094c0c bump redis dependency up to 17.3.11
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-16 12:17:25 +03:00
00d1b8dcf0 unwrap booleans
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-15 22:56:27 +03:00
0fa2dac744 add redis.enabled to values.yaml
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-15 22:51:53 +03:00
3f46388a06 add command for webhook and worker
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-15 22:46:38 +03:00
3c787efb0a Remove unnecessary node_env 2022-11-15 22:45:02 +03:00
61f92c0075 Add N8N_LOG_LEVEL and config.debug value
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-15 22:22:59 +03:00
a667ff2f96 Drone: helm repo add bitnami
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-15 22:19:37 +03:00
862cb62d2f helm update dependency
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
2022-11-15 22:12:07 +03:00
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
9 changed files with 30 additions and 10 deletions

View File

@ -32,6 +32,7 @@ steps:
image: cr.grachevko.ru/docker.io/alpine/helm:latest
pull: always
commands:
- helm repo add bitnami https://charts.bitnami.com/bitnami
- helm dependency build
- helm plugin install https://github.com/chartmuseum/helm-push
- helm repo add $HELM_REPO_NAME $HELM_REPO_REGISTRY/$HELM_REPO_NAME --username $HELM_REPO_USERNAME --password $HELM_REPO_PASSWORD

View File

@ -21,4 +21,3 @@
.idea/
*.tmproj
.vscode/
*.tgz

6
Chart.lock Normal file
View File

@ -0,0 +1,6 @@
dependencies:
- name: redis
repository: https://charts.bitnami.com/bitnami
version: 17.3.11
digest: sha256:40f0dad12458b527f362dd152bbeb042a415b0bb48376357901d2062489b0650
generated: "2022-11-16T12:29:15.310122534+03:00"

View File

@ -3,7 +3,7 @@ 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
@ -12,7 +12,6 @@ sources:
- https://git.grachevko.ru/n8n/chart
dependencies:
- name: redis
version: ~16.4.0
version: ^17
repository: https://charts.bitnami.com/bitnami
alias: redis
condition: redis.enabled

1
TODO.md Normal file
View File

@ -0,0 +1 @@
- [ ] external redis config

View File

@ -6,15 +6,17 @@ metadata:
labels:
{{- include "n8n.labels" . | nindent 4 }}
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 }}
EXECUTIONS_DATA_MAX_AGE: {{ .Values.config.executions.data.max_age | quote }}
N8N_DIAGNOSTICS_ENABLED: {{ .Values.config.executions.data.max_age | quote }}
N8N_DIAGNOSTICS_ENABLED: {{ .Values.config.diagnostics.enabled | 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
QUEUE_BULL_REDIS_HOST: {{ include "n8n.fullname" . }}-redis-master
{{- if .Values.config.debug }}
N8N_LOG_LEVEL: debug
{{- end }}
{{- end }}

View File

@ -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" . }}

View File

@ -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" . }}

View File

@ -1,4 +1,5 @@
config:
debug: false
db_type: postgresdb
postgres:
database: n8n
@ -10,20 +11,25 @@ config:
encryption_key: ""
timezone: Europe/Moscow
webhook_url: ""
node_env: production
executions:
process: main
data:
prune: 'true'
prune: true
max_age: 8760
diagnostics:
enabled: 'false'
enabled: false
node:
function:
allow:
builtin: '*'
external: '*'
redis:
enabled: false
architecture: standalone
auth:
enabled: false
existingSecret: ""
nameOverride: ""