22 Commits

Author SHA1 Message Date
f82dc3e103 chore: bump version up to 1.1.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-08-02 18:36:41 +03:00
8fcfc65a21 chore: bump version up to 0.234.1
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-06 13:12:06 +03:00
334edcf72b chore: bump version up to 0.234.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-06-22 17:03:32 +03:00
081683a2c1 fix: bump version up to 0.231.2
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-06-15 20:36:50 +03:00
e24a65060b fix: bump version up to 0.228.2
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-06-14 15:33:47 +03:00
f3efde9263 ci: remove unnecessary name
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-18 01:13:18 +03:00
2b2a037305 ci: bump helm version up to 24
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-05-18 00:38:03 +03:00
3d41f894c6 ci: bump helm version up to 23
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
2023-05-18 00:36:38 +03:00
b66e193714 ci: bump helm version up to 22
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
2023-05-18 00:27:02 +03:00
e292f3d434 ci: bump helm version
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
2023-05-18 00:24:07 +03:00
bfbfc4b0d2 ci: add tag event
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
2023-05-18 00:22:27 +03:00
856d90e88b ci: fix trigger
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-18 00:20:36 +03:00
5a9eb1a6fc ci: use oci 2023-05-18 00:14:59 +03:00
4506443e47 chore: bump n8n version up to 0.227.1 2023-05-18 00:11:25 +03:00
eb3096689d ci: update
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-02 20:35:02 +03:00
4fb7dec4c2 fix: bump version up to 0.226.1
Some checks failed
continuous-integration/drone/push Build is failing
2023-05-02 20:10:48 +03:00
5aa42df15d fix: bump version up to 0.222.3
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-20 15:03:02 +03:00
9e04dd563f fix: bump version up to 0.222.1
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-04 20:06:09 +03:00
33a4092cdd fix: bump version up to 0.221.2
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-30 22:17:44 +03:00
01534912d3 chore: bump version up to 0.221.2
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-30 22:16:14 +03:00
48e01337c9 cs: fix
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-17 17:00:07 +03:00
dddfa808e9 chore: bump version up to 0.220.0 2023-03-17 16:53:24 +03:00
12 changed files with 200 additions and 201 deletions

View File

@ -5,19 +5,18 @@ name: default
trigger:
event:
- push
- push
- tag
steps:
- name: release
image: cr.grachevko.ru/drone/helm:0.1.4
settings:
name: n8n
registry: https://harbor.grachevko.ru/chartrepo
username:
from_secret: HELM_REPO_USERNAME
password:
from_secret: HELM_REPO_PASSWORD
when:
branch:
- master
- rc
- name: release
image: cr.grachevko.ru/drone/helm:24
settings:
tag: ${DRONE_TAG}
username:
from_secret: HELM_REPO_USERNAME
password:
from_secret: HELM_REPO_PASSWORD
when:
event:
- tag

View File

@ -3,15 +3,15 @@ name: n8n
description: A Helm chart for Kubernetes
type: application
version: 0.0.1
appVersion: 0.219.1
appVersion: 1.1.1
icon: https://github.com/n8n-io/n8n/raw/master/assets/n8n-logo.png
maintainers:
- email: me@grachevko.ru
name: Konstantin Grachev
- email: me@grachevko.ru
name: Konstantin Grachev
sources:
- https://git.grachevko.ru/n8n/chart
- https://git.grachevko.ru/n8n/chart
dependencies:
- name: redis
version: ^17
repository: https://charts.bitnami.com/bitnami
condition: redis.enabled
- name: redis
version: ^17
repository: https://charts.bitnami.com/bitnami
condition: redis.enabled

View File

@ -27,40 +27,40 @@ spec:
securityContext:
{{- toYaml .Values.n8n.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
securityContext:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.n8n.securityContext | nindent 12 }}
image: "{{ .Values.n8n.image.registry }}/{{ .Values.n8n.image.repository }}:{{ .Values.n8n.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.n8n.image.pullPolicy }}
envFrom:
- configMapRef:
name: {{ include "n8n.fullname" . }}
image: "{{ .Values.n8n.image.registry }}/{{ .Values.n8n.image.repository }}:{{ .Values.n8n.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.n8n.image.pullPolicy }}
envFrom:
- configMapRef:
name: {{ include "n8n.fullname" . }}
{{- if .Values.n8n.extraEnvVarsSecret }}
- secretRef:
name: {{ .Values.n8n.extraEnvVarsSecret }}
- secretRef:
name: {{ .Values.n8n.extraEnvVarsSecret }}
{{- else }}
- secretRef:
name: {{ include "n8n.fullname" . }}
- secretRef:
name: {{ include "n8n.fullname" . }}
{{- end }}
ports:
- name: http
containerPort: 5678
protocol: TCP
livenessProbe:
httpGet:
path: /healthz
port: http
readinessProbe:
httpGet:
path: /healthz
port: http
startupProbe:
httpGet:
path: /healthz
port: http
failureThreshold: 30
periodSeconds: 10
resources:
ports:
- name: http
containerPort: 5678
protocol: TCP
livenessProbe:
httpGet:
path: /healthz
port: http
readinessProbe:
httpGet:
path: /healthz
port: http
startupProbe:
httpGet:
path: /healthz
port: http
failureThreshold: 30
periodSeconds: 10
resources:
{{- toYaml .Values.n8n.resources | nindent 12 }}
{{- with .Values.n8n.nodeSelector }}
nodeSelector:

View File

@ -29,30 +29,30 @@ spec:
{{- if .Values.n8n.ingress.tls }}
tls:
{{- range .Values.n8n.ingress.tls }}
- hosts:
- hosts:
{{- range .hosts }}
- {{ . | quote }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
{{- range .Values.n8n.ingress.hosts }}
- host: {{ .host | quote }}
http:
paths:
- host: {{ .host | quote }}
http:
paths:
{{- range .paths }}
- path: {{ .path }}
pathType: {{ default "ImplementationSpecific" .pathType }}
backend:
- path: {{ .path }}
pathType: {{ default "ImplementationSpecific" .pathType }}
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service:
name: {{ $fullName }}
port:
number: {{ $svcPort }}
service:
name: {{ $fullName }}
port:
number: {{ $svcPort }}
{{- else }}
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}

View File

@ -7,9 +7,9 @@ metadata:
spec:
type: {{ .Values.n8n.service.type }}
ports:
- port: {{ .Values.n8n.service.port }}
targetPort: http
protocol: TCP
name: http
- port: {{ .Values.n8n.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "n8n.selectorLabels" . | nindent 4 }}

View File

@ -8,8 +8,8 @@ metadata:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: [ 'wget' ]
args: [ '{{ include "n8n.fullname" . }}:{{ .Values.n8n.service.port }}' ]
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "n8n.fullname" . }}:{{ .Values.n8n.service.port }}']
restartPolicy: Never

View File

@ -29,37 +29,37 @@ spec:
securityContext:
{{- toYaml .Values.webhook.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
securityContext:
- name: {{ .Chart.Name }}
securityContext:
{{- 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" . }}
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" . }}
{{- if .Values.webhook.extraEnvVarsSecret }}
- secretRef:
name: {{ .Values.webhook.extraEnvVarsSecret }}
- secretRef:
name: {{ .Values.webhook.extraEnvVarsSecret }}
{{- else }}
- secretRef:
name: {{ include "n8n.fullname" . }}
- secretRef:
name: {{ include "n8n.fullname" . }}
{{- end }}
ports:
- name: http
containerPort: 5678
protocol: TCP
livenessProbe:
httpGet:
path: /healthz
port: http
readinessProbe:
httpGet:
path: /healthz
port: http
resources:
ports:
- name: http
containerPort: 5678
protocol: TCP
livenessProbe:
httpGet:
path: /healthz
port: http
readinessProbe:
httpGet:
path: /healthz
port: http
resources:
{{- toYaml .Values.webhook.resources | nindent 12 }}
{{- with .Values.webhook.nodeSelector }}
nodeSelector:

View File

@ -29,30 +29,30 @@ spec:
{{- if .Values.webhook.ingress.tls }}
tls:
{{- range .Values.webhook.ingress.tls }}
- hosts:
- hosts:
{{- range .hosts }}
- {{ . | quote }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
{{- range .Values.webhook.ingress.hosts }}
- host: {{ .host | quote }}
http:
paths:
- host: {{ .host | quote }}
http:
paths:
{{- range .paths }}
- path: {{ .path }}
pathType: {{ default "ImplementationSpecific" .pathType }}
backend:
- path: {{ .path }}
pathType: {{ default "ImplementationSpecific" .pathType }}
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service:
name: {{ $fullName }}
port:
number: {{ $svcPort }}
service:
name: {{ $fullName }}
port:
number: {{ $svcPort }}
{{- else }}
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}

View File

@ -7,9 +7,9 @@ metadata:
spec:
type: {{ .Values.webhook.service.type }}
ports:
- port: {{ .Values.webhook.service.port }}
targetPort: http
protocol: TCP
name: http
- port: {{ .Values.webhook.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "n8n-webhook.selectorLabels" . | nindent 4 }}

View File

@ -29,25 +29,25 @@ spec:
securityContext:
{{- toYaml .Values.worker.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
securityContext:
- name: {{ .Chart.Name }}
securityContext:
{{- 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" . }}
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" . }}
{{- if .Values.worker.extraEnvVarsSecret }}
- secretRef:
name: {{ .Values.worker.extraEnvVarsSecret }}
- secretRef:
name: {{ .Values.worker.extraEnvVarsSecret }}
{{- else }}
- secretRef:
name: {{ include "n8n.fullname" . }}
- secretRef:
name: {{ include "n8n.fullname" . }}
{{- end }}
resources:
resources:
{{- toYaml .Values.worker.resources | nindent 12 }}
{{- with .Values.worker.nodeSelector }}
nodeSelector:

View File

@ -14,15 +14,15 @@ spec:
maxReplicas: {{ .Values.worker.autoscaling.maxReplicas }}
metrics:
{{- if .Values.worker.autoscaling.targetCPUUtilizationPercentage }}
- type: Resource
resource:
name: cpu
targetAverageUtilization: {{ .Values.worker.autoscaling.targetCPUUtilizationPercentage }}
- type: Resource
resource:
name: cpu
targetAverageUtilization: {{ .Values.worker.autoscaling.targetCPUUtilizationPercentage }}
{{- end }}
{{- if .Values.worker.autoscaling.targetMemoryUtilizationPercentage }}
- type: Resource
resource:
name: memory
targetAverageUtilization: {{ .Values.worker.autoscaling.targetMemoryUtilizationPercentage }}
- type: Resource
resource:
name: memory
targetAverageUtilization: {{ .Values.worker.autoscaling.targetMemoryUtilizationPercentage }}
{{- end }}
{{- end }}

View File

@ -48,7 +48,7 @@ n8n:
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
pullSecrets: [ ]
pullSecrets: []
extraEnvVarsSecret: ""
@ -56,20 +56,20 @@ n8n:
# Specifies whether a service account should be created
create: false
# Annotations to add to the service account
annotations: { }
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations: { }
podAnnotations: {}
podSecurityContext: { }
podSecurityContext: {}
# fsGroup: 2000
securityContext: { }
securityContext: {}
# capabilities:
# drop:
# - ALL
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
@ -81,36 +81,36 @@ n8n:
ingress:
enabled: false
className: ""
annotations: { }
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: [ ]
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources: { }
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
nodeSelector: { }
nodeSelector: {}
tolerations: [ ]
tolerations: []
affinity: { }
affinity: {}
webhook:
replicaCount: 1
@ -121,7 +121,7 @@ webhook:
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
pullSecrets: [ ]
pullSecrets: []
extraEnvVarsSecret: ""
@ -129,21 +129,21 @@ webhook:
# Specifies whether a service account should be created
create: false
# Annotations to add to the service account
annotations: { }
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations: { }
podAnnotations: {}
podSecurityContext: { }
podSecurityContext: {}
# fsGroup: 2000
securityContext: { }
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
@ -154,28 +154,28 @@ webhook:
ingress:
enabled: false
className: ""
annotations: { }
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: [ ]
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources: { }
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
@ -186,11 +186,11 @@ webhook:
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: { }
nodeSelector: {}
tolerations: [ ]
tolerations: []
affinity: { }
affinity: {}
worker:
replicaCount: 1
@ -201,7 +201,7 @@ worker:
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
pullSecrets: [ ]
pullSecrets: []
extraEnvVarsSecret: ""
@ -209,21 +209,21 @@ worker:
# Specifies whether a service account should be created
create: false
# Annotations to add to the service account
annotations: { }
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations: { }
podAnnotations: {}
podSecurityContext: { }
podSecurityContext: {}
# fsGroup: 2000
securityContext: { }
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
@ -234,28 +234,28 @@ worker:
ingress:
enabled: false
className: ""
annotations: { }
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: [ ]
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
resources: { }
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
@ -266,8 +266,8 @@ worker:
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: { }
nodeSelector: {}
tolerations: [ ]
tolerations: []
affinity: { }
affinity: {}