Skip to content

Commit

Permalink
Merge pull request #4 from firefliesai/ndeitch-patch-1
Browse files Browse the repository at this point in the history
feat: webhook autoscaling
  • Loading branch information
ndeitch authored Jan 23, 2024
2 parents 335f417 + 4bc0703 commit d1b98b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/n8n/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ sources:
- https://github.com/n8n-io/n8n
- https://n8n.io/
type: application
version: 0.20.1
version: 0.20.2
2 changes: 2 additions & 0 deletions charts/n8n/templates/deployment.webhooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ spec:
protocol: TCP
resources:
{{- toYaml .Values.webhookResources | nindent 12 }}
autoscaling:
{{- toYaml .Values.webhookAutoscaling | nindent 12 }}
volumeMounts:
- name: data
mountPath: {{ if semverCompare ">=1.0" (.Values.image.tag | default .Chart.AppVersion) }}/home/node/.n8n{{ else }}/root/.n8n{{ end }}
Expand Down
3 changes: 3 additions & 0 deletions charts/n8n/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ workerResources:
webhookResources:
{}

webhookAutoscaling:
{}

resources:
{}
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down

0 comments on commit d1b98b4

Please sign in to comment.