Removing n8n fabi

This commit is contained in:
Moritz Graf 2026-04-01 17:48:52 +02:00
parent ae14763383
commit eb2e963945
2 changed files with 120 additions and 117 deletions

View File

@ -746,11 +746,14 @@ helm get manifest mop-n8n -n n8n | less
## n8n-fabi
> [!IMPORTANT]
> Notice: This deployment is currently not deployed.
```sh
kubectl create ns n8n-fabi
helm upgrade --cleanup-on-fail --install fabi-n8n \
oci://8gears.container-registry.com/library/n8n \
--namespace n8n-fabi --values n8n-fabi/n8n-fabi.secret.yml --version 2.0.1
# kubectl create ns n8n-fabi
# helm upgrade --cleanup-on-fail --install fabi-n8n \
# oci://8gears.container-registry.com/library/n8n \
# --namespace n8n-fabi --values n8n-fabi/n8n-fabi.secret.yml --version 2.0.1
```

View File

@ -1,113 +1,113 @@
#small deployment with nodeport for local testing or small deployments
image:
repository: n8nio/n8n
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: 2.9.1
main:
config:
generic:
timezone: Europe/Berlin
# Maintain access to env vars in Code nodes (v2.0 blocks this by default)
block_env_access_in_node: false
n8n:
editor_base_url: https://n8n-fabi.moritzgraf.de
webhook_url: https://n8n-fabi.moritzgraf.de
extra:
node_modules:
- axios
node:
function_allow_builtin: '*'
function_allow_external: '*'
db:
type: postgresdb
postgresdb:
host: db-rw
user: n8n
# password: password is read from cnpg db-app secretKeyRef
# Moritz: Assuming the db-app secret is created by cnpg operator
pool:
size: 10
ssl:
enabled: true
reject_Unauthorized: true
ca_file: "/home/ssl/certs/postgresql/ca.crt"
secret:
n8n:
encryption_key: "ephikoaloVeev7xaiz5sheig9ieZaNgeihaCaiTh5ahqua5Aelanu8eicooy"
extraEnv:
DB_POSTGRESDB_PASSWORD:
valueFrom:
secretKeyRef:
name: db-app
key: password
# Mount the CNPG CA Cert into N8N container
extraVolumeMounts:
- name: db-ca-cert
mountPath: /home/ssl/certs/postgresql
readOnly: true
extraVolumes:
- name: db-ca-cert
secret:
secretName: db-ca
items:
- key: ca.crt
path: ca.crt
resources:
limits:
memory: 2048Mi
requests:
memory: 512Mi
service:
type: NodePort
port: 5678
ingress:
# Enable ingress for home assistant
enabled: true
className: "nginx"
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
kubernetes.io/tls-acme: "true"
nginx.ingress.kubernetes.io/proxy-body-size: "0"
nginx.ingress.kubernetes.io/proxy-buffering: "off"
nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
hosts:
- host: n8n-fabi.moritzgraf.de
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- "n8n-fabi.moritzgraf.de"
secretName: n8n-fabi-moritzgraf-de
# cnpg DB cluster request
extraManifests:
- apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: db
spec:
instances: 1
bootstrap:
initdb:
database: n8n
owner: n8n
postgresql:
parameters:
shared_buffers: "64MB"
resources:
requests:
memory: "512Mi"
limits:
memory: "512Mi"
storage:
size: 1Gi
# #small deployment with nodeport for local testing or small deployments
# image:
# repository: n8nio/n8n
# pullPolicy: Always
# # Overrides the image tag whose default is the chart appVersion.
# tag: 2.9.1
#
#
# main:
# config:
# generic:
# timezone: Europe/Berlin
# # Maintain access to env vars in Code nodes (v2.0 blocks this by default)
# block_env_access_in_node: false
# n8n:
# editor_base_url: https://n8n-fabi.moritzgraf.de
# webhook_url: https://n8n-fabi.moritzgraf.de
# extra:
# node_modules:
# - axios
# node:
# function_allow_builtin: '*'
# function_allow_external: '*'
# db:
# type: postgresdb
# postgresdb:
# host: db-rw
# user: n8n
# # password: password is read from cnpg db-app secretKeyRef
# # Moritz: Assuming the db-app secret is created by cnpg operator
# pool:
# size: 10
# ssl:
# enabled: true
# reject_Unauthorized: true
# ca_file: "/home/ssl/certs/postgresql/ca.crt"
# secret:
# n8n:
# encryption_key: "ephikoaloVeev7xaiz5sheig9ieZaNgeihaCaiTh5ahqua5Aelanu8eicooy"
# extraEnv:
# DB_POSTGRESDB_PASSWORD:
# valueFrom:
# secretKeyRef:
# name: db-app
# key: password
# # Mount the CNPG CA Cert into N8N container
# extraVolumeMounts:
# - name: db-ca-cert
# mountPath: /home/ssl/certs/postgresql
# readOnly: true
#
# extraVolumes:
# - name: db-ca-cert
# secret:
# secretName: db-ca
# items:
# - key: ca.crt
# path: ca.crt
# resources:
# limits:
# memory: 2048Mi
# requests:
# memory: 512Mi
# service:
# type: NodePort
# port: 5678
#
#
# ingress:
# # Enable ingress for home assistant
# enabled: true
# className: "nginx"
# annotations:
# kubernetes.io/ingress.class: "nginx"
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
# kubernetes.io/tls-acme: "true"
# nginx.ingress.kubernetes.io/proxy-body-size: "0"
# nginx.ingress.kubernetes.io/proxy-buffering: "off"
# nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
# nginx.ingress.kubernetes.io/ssl-redirect: "true"
# nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
# hosts:
# - host: n8n-fabi.moritzgraf.de
# paths:
# - path: /
# pathType: Prefix
# tls:
# - hosts:
# - "n8n-fabi.moritzgraf.de"
# secretName: n8n-fabi-moritzgraf-de
#
# # cnpg DB cluster request
# extraManifests:
# - apiVersion: postgresql.cnpg.io/v1
# kind: Cluster
# metadata:
# name: db
# spec:
# instances: 1
# bootstrap:
# initdb:
# database: n8n
# owner: n8n
# postgresql:
# parameters:
# shared_buffers: "64MB"
# resources:
# requests:
# memory: "512Mi"
# limits:
# memory: "512Mi"
# storage:
# size: 1Gi