Skip to content

Commit

Permalink
feat: add hostAliases
Browse files Browse the repository at this point in the history
  • Loading branch information
dnplkndll committed Jan 8, 2025
1 parent f1df1f3 commit 0bc2e70
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/n8n/templates/deployment.webhooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,8 @@ spec:
- key: "secret.json"
path: "secret.json"
{{- end }}
{{- with .Values.hostAliases }}
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/n8n/templates/deployment.worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,8 @@ spec:
- key: "secret.json"
path: "secret.json"
{{- end }}
{{- with .Values.hostAliases }}
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/n8n/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,7 @@ spec:
- key: "secret.json"
path: "secret.json"
{{- end }}
{{- with .Values.hostAliases }}
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
5 changes: 5 additions & 0 deletions charts/n8n/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ persistence:
##
# existingClaim:

hostAliases: {}
# - hostnames:
# - service-example.local
# ip: 8.8.8.8

replicaCount: 1

# here you can specify the deployment strategy as Recreate or RollingUpdate with optional maxSurge and maxUnavailable
Expand Down

0 comments on commit 0bc2e70

Please sign in to comment.