Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ main:
# Number of desired pods. More than one pod is supported in n8n enterprise.
replicaCount: 1

# How many old ReplicaSets for the Deployment to retain to allow rollback.
revisionHistoryLimit: 10

# here you can specify the deployment strategy as Recreate or RollingUpdate with optional maxSurge and maxUnavailable
# If these options are not set, default values are 25%
# deploymentStrategy:
Expand Down Expand Up @@ -409,6 +412,9 @@ worker:
# Number of desired pods.
replicaCount: 1

# How many old ReplicaSets for the Deployment to retain to allow rollback.
revisionHistoryLimit: 10

# here you can specify the deployment strategy as Recreate or RollingUpdate with optional maxSurge and maxUnavailable
# If these options are not set, default values are 25%
# deploymentStrategy:
Expand Down Expand Up @@ -595,6 +601,9 @@ webhook:
# Number of desired pods.
replicaCount: 1

# How many old ReplicaSets for the Deployment to retain to allow rollback.
revisionHistoryLimit: 10

# here you can specify the deployment strategy as Recreate or RollingUpdate with optional maxSurge and maxUnavailable
# If these options are not set, default values are 25%
# deploymentStrategy:
Expand Down
6 changes: 3 additions & 3 deletions charts/n8n/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: n8n
version: 1.0.13
version: 1.0.14
appVersion: 1.107.4
type: application
description: "Helm Chart for deploying n8n on Kubernetes, a fair-code workflow automation platform with native AI capabilities for technical teams. Easily automate tasks across different services."
Expand Down Expand Up @@ -34,5 +34,5 @@ annotations:
artifacthub.io/prerelease: "false"
# supported kinds are added, changed, deprecated, removed, fixed and security.
artifacthub.io/changes: |
- kind: fixed
description: "Adds namespace to all namespace-scoped templates: fixes https://github.com/8gears/n8n-helm-chart/issues/224"
- kind: added
description: "Support setting revisionHistoryLimit"
1 change: 1 addition & 0 deletions charts/n8n/templates/deployment.webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ spec:
{{- if not .Values.webhook.autoscaling.enabled }}
replicas: {{ .Values.webhook.replicaCount }}
{{- end }}
revisionHistoryLimit: {{ .Values.webhook.revisionHistoryLimit }}
strategy:
type: {{ .Values.webhook.deploymentStrategy.type }}
{{- if eq .Values.webhook.deploymentStrategy.type "RollingUpdate" }}
Expand Down
1 change: 1 addition & 0 deletions charts/n8n/templates/deployment.worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ spec:
{{- if not .Values.worker.autoscaling.enabled }}
replicas: {{ .Values.worker.replicaCount }}
{{- end }}
revisionHistoryLimit: {{ .Values.worker.revisionHistoryLimit }}
strategy:
type: {{ .Values.worker.deploymentStrategy.type }}
{{- if eq .Values.worker.deploymentStrategy.type "RollingUpdate" }}
Expand Down
1 change: 1 addition & 0 deletions charts/n8n/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spec:
{{- if not .Values.main.autoscaling.enabled }}
replicas: {{ .Values.main.replicaCount }}
{{- end }}
revisionHistoryLimit: {{ .Values.main.revisionHistoryLimit }}
strategy:
type: {{ .Values.main.deploymentStrategy.type }}
{{- if eq .Values.main.deploymentStrategy.type "RollingUpdate" }}
Expand Down
9 changes: 9 additions & 0 deletions charts/n8n/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ main:
# Number of desired pods. More than one pod is supported in n8n enterprise.
replicaCount: 1

# How many old ReplicaSets for the Deployment to retain to allow rollback.
revisionHistoryLimit: 10

# here you can specify the deployment strategy as Recreate or RollingUpdate with optional maxSurge and maxUnavailable
# If these options are not set, default values are 25%
# deploymentStrategy:
Expand Down Expand Up @@ -320,6 +323,9 @@ worker:
# Number of desired pods.
replicaCount: 1

# How many old ReplicaSets for the Deployment to retain to allow rollback.
revisionHistoryLimit: 10

# here you can specify the deployment strategy as Recreate or RollingUpdate with optional maxSurge and maxUnavailable
# If these options are not set, default values are 25%
# deploymentStrategy:
Expand Down Expand Up @@ -506,6 +512,9 @@ webhook:
# Number of desired pods.
replicaCount: 1

# How many old ReplicaSets for the Deployment to retain to allow rollback.
revisionHistoryLimit: 10

# here you can specify the deployment strategy as Recreate or RollingUpdate with optional maxSurge and maxUnavailable
# If these options are not set, default values are 25%
# deploymentStrategy:
Expand Down