Compare commits
3 Commits
cdbceb1396
...
0.1.23
Author | SHA1 | Date | |
---|---|---|---|
5500ec6642
|
|||
fba44456e6
|
|||
8bdea5fba6
|
@ -8,6 +8,7 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
N8N_HOST: {{ .Values.config.host | quote }}
|
N8N_HOST: {{ .Values.config.host | quote }}
|
||||||
N8N_PORT: {{ .Values.config.port | quote }}
|
N8N_PORT: {{ .Values.config.port | quote }}
|
||||||
|
N8N_PROTOCOL: {{ .Values.config.protocol | quote }}
|
||||||
WEBHOOK_URL: {{ .Values.config.webhook_url | quote }}
|
WEBHOOK_URL: {{ .Values.config.webhook_url | quote }}
|
||||||
EXECUTIONS_MODE: "queue"
|
EXECUTIONS_MODE: "queue"
|
||||||
EXECUTIONS_PROCESS: {{ .Values.config.executions.process | quote }}
|
EXECUTIONS_PROCESS: {{ .Values.config.executions.process | quote }}
|
||||||
|
@ -14,8 +14,10 @@ spec:
|
|||||||
{{- include "n8n.selectorLabels" . | nindent 6 }}
|
{{- include "n8n.selectorLabels" . | nindent 6 }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- with .Values.n8n.podAnnotations }}
|
|
||||||
annotations:
|
annotations:
|
||||||
|
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
|
||||||
|
checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
|
||||||
|
{{- with .Values.n8n.podAnnotations }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
@ -39,6 +41,9 @@ spec:
|
|||||||
{{- if .Values.n8n.extraEnvVarsSecret }}
|
{{- if .Values.n8n.extraEnvVarsSecret }}
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ .Values.n8n.extraEnvVarsSecret }}
|
name: {{ .Values.n8n.extraEnvVarsSecret }}
|
||||||
|
{{- else }}
|
||||||
|
- secretRef:
|
||||||
|
name: {{ include "n8n.fullname" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
|
@ -4,9 +4,6 @@ metadata:
|
|||||||
name: {{ include "n8n.fullname" . }}-webhook
|
name: {{ include "n8n.fullname" . }}-webhook
|
||||||
labels:
|
labels:
|
||||||
{{- include "n8n.labels" . | nindent 4 }}
|
{{- include "n8n.labels" . | nindent 4 }}
|
||||||
annotations:
|
|
||||||
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
|
|
||||||
checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
|
|
||||||
spec:
|
spec:
|
||||||
{{- if not .Values.webhook.autoscaling.enabled }}
|
{{- if not .Values.webhook.autoscaling.enabled }}
|
||||||
replicas: {{ .Values.webhook.replicaCount }}
|
replicas: {{ .Values.webhook.replicaCount }}
|
||||||
@ -16,8 +13,10 @@ spec:
|
|||||||
{{- include "n8n.selectorLabels" . | nindent 6 }}
|
{{- include "n8n.selectorLabels" . | nindent 6 }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- with .Values.webhook.podAnnotations }}
|
|
||||||
annotations:
|
annotations:
|
||||||
|
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
|
||||||
|
checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
|
||||||
|
{{- with .Values.webhook.podAnnotations }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
@ -44,6 +43,9 @@ spec:
|
|||||||
{{- if .Values.webhook.extraEnvVarsSecret }}
|
{{- if .Values.webhook.extraEnvVarsSecret }}
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ .Values.webhook.extraEnvVarsSecret }}
|
name: {{ .Values.webhook.extraEnvVarsSecret }}
|
||||||
|
{{- else }}
|
||||||
|
- secretRef:
|
||||||
|
name: {{ include "n8n.fullname" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
|
@ -16,8 +16,10 @@ spec:
|
|||||||
{{- include "n8n.selectorLabels" . | nindent 6 }}
|
{{- include "n8n.selectorLabels" . | nindent 6 }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- with .Values.worker.podAnnotations }}
|
|
||||||
annotations:
|
annotations:
|
||||||
|
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
|
||||||
|
checksum/secret: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
|
||||||
|
{{- with .Values.worker.podAnnotations }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
@ -44,6 +46,9 @@ spec:
|
|||||||
{{- if .Values.worker.extraEnvVarsSecret }}
|
{{- if .Values.worker.extraEnvVarsSecret }}
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ .Values.worker.extraEnvVarsSecret }}
|
name: {{ .Values.worker.extraEnvVarsSecret }}
|
||||||
|
{{- else }}
|
||||||
|
- secretRef:
|
||||||
|
name: {{ include "n8n.fullname" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.worker.resources | nindent 12 }}
|
{{- toYaml .Values.worker.resources | nindent 12 }}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
config:
|
config:
|
||||||
host: ""
|
host: ""
|
||||||
port: "5678"
|
port: "5678"
|
||||||
|
protocol: http
|
||||||
debug: false
|
debug: false
|
||||||
db_type: postgresdb
|
db_type: postgresdb
|
||||||
postgres:
|
postgres:
|
||||||
|
Reference in New Issue
Block a user