113 lines
3.0 KiB
YAML
113 lines
3.0 KiB
YAML
# #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 |