Removing n8n fabi
This commit is contained in:
parent
ae14763383
commit
eb2e963945
|
|
@ -746,11 +746,14 @@ helm get manifest mop-n8n -n n8n | less
|
||||||
|
|
||||||
## n8n-fabi
|
## n8n-fabi
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
> Notice: This deployment is currently not deployed.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
kubectl create ns n8n-fabi
|
# kubectl create ns n8n-fabi
|
||||||
helm upgrade --cleanup-on-fail --install fabi-n8n \
|
# helm upgrade --cleanup-on-fail --install fabi-n8n \
|
||||||
oci://8gears.container-registry.com/library/n8n \
|
# oci://8gears.container-registry.com/library/n8n \
|
||||||
--namespace n8n-fabi --values n8n-fabi/n8n-fabi.secret.yml --version 2.0.1
|
# --namespace n8n-fabi --values n8n-fabi/n8n-fabi.secret.yml --version 2.0.1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,113 +1,113 @@
|
||||||
#small deployment with nodeport for local testing or small deployments
|
# #small deployment with nodeport for local testing or small deployments
|
||||||
image:
|
# image:
|
||||||
repository: n8nio/n8n
|
# repository: n8nio/n8n
|
||||||
pullPolicy: Always
|
# pullPolicy: Always
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# # Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: 2.9.1
|
# tag: 2.9.1
|
||||||
|
#
|
||||||
|
#
|
||||||
main:
|
# main:
|
||||||
config:
|
# config:
|
||||||
generic:
|
# generic:
|
||||||
timezone: Europe/Berlin
|
# timezone: Europe/Berlin
|
||||||
# Maintain access to env vars in Code nodes (v2.0 blocks this by default)
|
# # Maintain access to env vars in Code nodes (v2.0 blocks this by default)
|
||||||
block_env_access_in_node: false
|
# block_env_access_in_node: false
|
||||||
n8n:
|
# n8n:
|
||||||
editor_base_url: https://n8n-fabi.moritzgraf.de
|
# editor_base_url: https://n8n-fabi.moritzgraf.de
|
||||||
webhook_url: https://n8n-fabi.moritzgraf.de
|
# webhook_url: https://n8n-fabi.moritzgraf.de
|
||||||
extra:
|
# extra:
|
||||||
node_modules:
|
# node_modules:
|
||||||
- axios
|
# - axios
|
||||||
node:
|
# node:
|
||||||
function_allow_builtin: '*'
|
# function_allow_builtin: '*'
|
||||||
function_allow_external: '*'
|
# function_allow_external: '*'
|
||||||
db:
|
# db:
|
||||||
type: postgresdb
|
# type: postgresdb
|
||||||
postgresdb:
|
# postgresdb:
|
||||||
host: db-rw
|
# host: db-rw
|
||||||
user: n8n
|
# user: n8n
|
||||||
# password: password is read from cnpg db-app secretKeyRef
|
# # password: password is read from cnpg db-app secretKeyRef
|
||||||
# Moritz: Assuming the db-app secret is created by cnpg operator
|
# # Moritz: Assuming the db-app secret is created by cnpg operator
|
||||||
pool:
|
# pool:
|
||||||
size: 10
|
# size: 10
|
||||||
ssl:
|
# ssl:
|
||||||
enabled: true
|
# enabled: true
|
||||||
reject_Unauthorized: true
|
# reject_Unauthorized: true
|
||||||
ca_file: "/home/ssl/certs/postgresql/ca.crt"
|
# ca_file: "/home/ssl/certs/postgresql/ca.crt"
|
||||||
secret:
|
# secret:
|
||||||
n8n:
|
# n8n:
|
||||||
encryption_key: "ephikoaloVeev7xaiz5sheig9ieZaNgeihaCaiTh5ahqua5Aelanu8eicooy"
|
# encryption_key: "ephikoaloVeev7xaiz5sheig9ieZaNgeihaCaiTh5ahqua5Aelanu8eicooy"
|
||||||
extraEnv:
|
# extraEnv:
|
||||||
DB_POSTGRESDB_PASSWORD:
|
# DB_POSTGRESDB_PASSWORD:
|
||||||
valueFrom:
|
# valueFrom:
|
||||||
secretKeyRef:
|
# secretKeyRef:
|
||||||
name: db-app
|
# name: db-app
|
||||||
key: password
|
# key: password
|
||||||
# Mount the CNPG CA Cert into N8N container
|
# # Mount the CNPG CA Cert into N8N container
|
||||||
extraVolumeMounts:
|
# extraVolumeMounts:
|
||||||
- name: db-ca-cert
|
# - name: db-ca-cert
|
||||||
mountPath: /home/ssl/certs/postgresql
|
# mountPath: /home/ssl/certs/postgresql
|
||||||
readOnly: true
|
# readOnly: true
|
||||||
|
#
|
||||||
extraVolumes:
|
# extraVolumes:
|
||||||
- name: db-ca-cert
|
# - name: db-ca-cert
|
||||||
secret:
|
# secret:
|
||||||
secretName: db-ca
|
# secretName: db-ca
|
||||||
items:
|
# items:
|
||||||
- key: ca.crt
|
# - key: ca.crt
|
||||||
path: ca.crt
|
# path: ca.crt
|
||||||
resources:
|
# resources:
|
||||||
limits:
|
# limits:
|
||||||
memory: 2048Mi
|
# memory: 2048Mi
|
||||||
requests:
|
# requests:
|
||||||
memory: 512Mi
|
# memory: 512Mi
|
||||||
service:
|
# service:
|
||||||
type: NodePort
|
# type: NodePort
|
||||||
port: 5678
|
# port: 5678
|
||||||
|
#
|
||||||
|
#
|
||||||
ingress:
|
# ingress:
|
||||||
# Enable ingress for home assistant
|
# # Enable ingress for home assistant
|
||||||
enabled: true
|
# enabled: true
|
||||||
className: "nginx"
|
# className: "nginx"
|
||||||
annotations:
|
# annotations:
|
||||||
kubernetes.io/ingress.class: "nginx"
|
# kubernetes.io/ingress.class: "nginx"
|
||||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||||
kubernetes.io/tls-acme: "true"
|
# kubernetes.io/tls-acme: "true"
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
# nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
||||||
nginx.ingress.kubernetes.io/proxy-buffering: "off"
|
# nginx.ingress.kubernetes.io/proxy-buffering: "off"
|
||||||
nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
|
# nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
|
||||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
# nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
# nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
hosts:
|
# hosts:
|
||||||
- host: n8n-fabi.moritzgraf.de
|
# - host: n8n-fabi.moritzgraf.de
|
||||||
paths:
|
# paths:
|
||||||
- path: /
|
# - path: /
|
||||||
pathType: Prefix
|
# pathType: Prefix
|
||||||
tls:
|
# tls:
|
||||||
- hosts:
|
# - hosts:
|
||||||
- "n8n-fabi.moritzgraf.de"
|
# - "n8n-fabi.moritzgraf.de"
|
||||||
secretName: n8n-fabi-moritzgraf-de
|
# secretName: n8n-fabi-moritzgraf-de
|
||||||
|
#
|
||||||
# cnpg DB cluster request
|
# # cnpg DB cluster request
|
||||||
extraManifests:
|
# extraManifests:
|
||||||
- apiVersion: postgresql.cnpg.io/v1
|
# - apiVersion: postgresql.cnpg.io/v1
|
||||||
kind: Cluster
|
# kind: Cluster
|
||||||
metadata:
|
# metadata:
|
||||||
name: db
|
# name: db
|
||||||
spec:
|
# spec:
|
||||||
instances: 1
|
# instances: 1
|
||||||
bootstrap:
|
# bootstrap:
|
||||||
initdb:
|
# initdb:
|
||||||
database: n8n
|
# database: n8n
|
||||||
owner: n8n
|
# owner: n8n
|
||||||
postgresql:
|
# postgresql:
|
||||||
parameters:
|
# parameters:
|
||||||
shared_buffers: "64MB"
|
# shared_buffers: "64MB"
|
||||||
resources:
|
# resources:
|
||||||
requests:
|
# requests:
|
||||||
memory: "512Mi"
|
# memory: "512Mi"
|
||||||
limits:
|
# limits:
|
||||||
memory: "512Mi"
|
# memory: "512Mi"
|
||||||
storage:
|
# storage:
|
||||||
size: 1Gi
|
# size: 1Gi
|
||||||
Loading…
Reference in New Issue