Skip to content

Commit

Permalink
Release n8n chart: v0.1.7, app: v1.71.1
Browse files Browse the repository at this point in the history
  • Loading branch information
th0th committed Dec 7, 2024
1 parent c4af221 commit ab7decf
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 45 deletions.
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
appVersion: "1.68.0"
name: n8n
appVersion: "1.71.1"
description: An extendable workflow automation tool.
name: n8n
type: application
version: 0.1.6
version: 0.1.7
8 changes: 4 additions & 4 deletions charts/n8n/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# n8n

[![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)](#)
[![Version: 0.1.6](https://img.shields.io/badge/Version-0.1.6-informational?style=flat-square)](#)
[![AppVersion: 1.68.0](https://img.shields.io/badge/AppVersion-1.68.0-informational?style=flat-square)](#)
[![Version: 0.1.7](https://img.shields.io/badge/Version-0.1.7-informational?style=flat-square)](#)
[![AppVersion: 1.71.1](https://img.shields.io/badge/AppVersion-1.71.1-informational?style=flat-square)](#)

An extendable workflow automation tool.

Expand All @@ -15,7 +15,7 @@ $ helm upgrade n8n n8n \
--namespace n8n \
--repo https://th0th.github.io/helm-charts \
--values values.yaml \
--version 0.1.4
--version 0.1.7
```

## Uninstall
Expand All @@ -32,7 +32,7 @@ $ helm uninstall --namespace n8n n8n
| env | object | `{}` | environment variables to be passed to n8n (see [docs](https://docs.n8n.io/hosting/configuration/environment-variables/)) |
| image.pullPolicy | string | `"IfNotPresent"` | n8n image pull policy |
| image.repository | string | `"docker.n8n.io/n8nio/n8n"` | n8n image repository |
| image.tag | string | `"1.68.0"` | n8n image tag |
| image.tag | string | `"1.71.1"` | n8n image tag |
| ingress.annotations | object | `{}` | the ingress annotations |
| ingress.enabled | bool | `false` | enable the ingress |
| ingress.hosts | list | `[]` | the ingress host |
Expand Down
8 changes: 4 additions & 4 deletions charts/n8n/templates/configmap-n8n.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
data:
{{ .Values.env | toYaml | nindent 2 }}
kind: ConfigMap
metadata:
name: {{ include "n8n.fullname" . }}-n8n
labels:
{{- include "n8n.labels" . | nindent 4 }}
data:
{{ .Values.env | toYaml | nindent 2 }}
{{ include "n8n.labels" . | nindent 4 }}
name: {{ include "n8n.fullname" . }}-n8n
10 changes: 5 additions & 5 deletions charts/n8n/templates/configmap-postgres.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "n8n.fullname" . }}-postgres
labels:
{{- include "n8n.labels" . | nindent 4 }}
data:
DATABASE: "{{ .Values.postgres.database}}"
HOST: "{{ include "n8n.fullname" . }}-postgres"
PORT: "5432"
kind: ConfigMap
metadata:
labels:
{{ include "n8n.labels" . | nindent 4 }}
name: {{ include "n8n.fullname" . }}-postgres
6 changes: 3 additions & 3 deletions charts/n8n/templates/deployment-n8n.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
{{- include "n8n.labels" . | nindent 4 }}
{{ include "n8n.labels" . | nindent 4 }}
name: {{ include "n8n.fullname" . }}-n8n
spec:
replicas: 1
selector:
matchLabels:
deployment: n8n
{{- include "n8n.selectorLabels" . | nindent 6 }}
{{ include "n8n.selectorLabels" . | nindent 6 }}
strategy:
rollingUpdate:
maxSurge: 0
Expand All @@ -19,7 +19,7 @@ spec:
metadata:
labels:
deployment: n8n
{{- include "n8n.selectorLabels" . | nindent 8 }}
{{ include "n8n.selectorLabels" . | nindent 8 }}
spec:
containers:
- env:
Expand Down
12 changes: 6 additions & 6 deletions charts/n8n/templates/ingress-n8n.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{{- if .Values.ingress.enabled }}
{{ if .Values.ingress.enabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
{{- toYaml .Values.ingress.annotations | nindent 4 }}
{{ toYaml .Values.ingress.annotations | nindent 4 }}
labels:
{{- include "n8n.labels" . | nindent 4 }}
{{ include "n8n.labels" . | nindent 4 }}
name: {{ include "n8n.fullname" . }}-n8n
spec:
rules:
Expand All @@ -24,8 +24,8 @@ spec:
{{ end }}
tls:
- hosts:
{{- range .Values.ingress.hosts }}
{{ range .Values.ingress.hosts }}
- {{ . }}
{{- end }}
{{ end }}
secretName: {{ include "n8n.fullname" . }}-n8n-tls
{{- end }}
{{ end }}
6 changes: 3 additions & 3 deletions charts/n8n/templates/secret-postgres.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{{ if .Values.postgres.enabled }}
apiVersion: v1
data:
PASSWORD: {{ required "A valid .Values.postgres.password is required" .Values.postgres.password | b64enc }}
USER: {{ required "A valid .Values.postgres.user is required" .Values.postgres.user | b64enc }}
kind: Secret
metadata:
labels:
{{- include "n8n.labels" . | nindent 4 }}
name: {{ include "n8n.fullname" . }}-postgres
data:
PASSWORD: {{ required "A valid .Values.postgres.password is required" .Values.postgres.password | b64enc }}
USER: {{ required "A valid .Values.postgres.user is required" .Values.postgres.user | b64enc }}
{{ end }}
12 changes: 6 additions & 6 deletions charts/n8n/templates/service-n8n.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "n8n.fullname" . }}-n8n
labels:
{{- include "n8n.labels" . | nindent 4 }}
{{ include "n8n.labels" . | nindent 4 }}
name: {{ include "n8n.fullname" . }}-n8n
spec:
type: ClusterIP
selector:
deployment: n8n
{{- include "n8n.selectorLabels" . | nindent 4 }}
ports:
- name: http
port: 5678
protocol: TCP
targetPort: 5678
selector:
deployment: n8n
{{ include "n8n.selectorLabels" . | nindent 4 }}
type: ClusterIP
12 changes: 6 additions & 6 deletions charts/n8n/templates/service-postgres.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "n8n.fullname" . }}-postgres
labels:
{{- include "n8n.labels" . | nindent 4 }}
{{ include "n8n.labels" . | nindent 4 }}
name: {{ include "n8n.fullname" . }}-postgres
spec:
type: ClusterIP
selector:
statefulSet: postgres
{{- include "n8n.selectorLabels" . | nindent 4 }}
ports:
- name: postgres
port: 5432
protocol: TCP
targetPort: 5432
selector:
statefulSet: postgres
{{ include "n8n.selectorLabels" . | nindent 4 }}
type: ClusterIP
10 changes: 5 additions & 5 deletions charts/n8n/templates/statefulset-postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
{{- include "n8n.labels" . | nindent 4 }}
{{ include "n8n.labels" . | nindent 4 }}
name: {{ include "n8n.fullname" . }}-postgres
spec:
selector:
matchLabels:
statefulSet: postgres
{{- include "n8n.selectorLabels" . | nindent 6 }}
{{ include "n8n.selectorLabels" . | nindent 6 }}
serviceName: postgres-hl
template:
metadata:
labels:
statefulSet: postgres
{{- include "n8n.selectorLabels" . | nindent 8 }}
{{ include "n8n.selectorLabels" . | nindent 8 }}
name: postgres
spec:
containers:
Expand All @@ -40,7 +40,7 @@ spec:
optional: false
image: {{ .Values.postgres.image.repository }}:{{ .Values.postgres.image.tag }}
name: postgres
resources: {{- toYaml .Values.postgres.resources | nindent 10 }}
resources: {{ toYaml .Values.postgres.resources | nindent 10 }}
volumeMounts:
- mountPath: /var/lib/postgresql/data
name: data
Expand All @@ -60,4 +60,4 @@ spec:
requests:
storage: 10Gi
volumeMode: Filesystem
{{ end}}
{{ end }}

0 comments on commit ab7decf

Please sign in to comment.