Compare commits

..

7 Commits

Author SHA1 Message Date
Gitea Actions Bot
0c867bc161 Auto-update README with current k8s applications
All checks were successful
Terraform / Terraform (pull_request) Successful in 20s
Generated by CI/CD workflow on 2026-02-04 00:16:23

This PR updates the README.md file with the current list of applications found in the k8s/ directory structure.
2026-02-04 00:16:23 +00:00
ab
88e5b5f1b7 Update k8s/apps/n8n/external-secrets.yaml
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 7s
Check with kubeconform / lint (push) Successful in 23s
Auto-update README / Generate README and Create MR (push) Successful in 5s
2026-02-04 00:15:46 +00:00
AB from home.homenet
6f8ca40108 Fixed n8n permissions
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 7s
Check with kubeconform / lint (push) Successful in 4s
Auto-update README / Generate README and Create MR (push) Successful in 6s
2026-02-04 02:02:28 +02:00
AB from home.homenet
da37ae71be Fixed n8n permissions
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 6s
Check with kubeconform / lint (push) Successful in 6s
Auto-update README / Generate README and Create MR (push) Successful in 5s
2026-02-04 02:00:54 +02:00
AB from home.homenet
a4a1fecbd1 Added storage for n8n
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 6s
Check with kubeconform / lint (push) Successful in 5s
Auto-update README / Generate README and Create MR (push) Successful in 5s
2026-02-04 01:54:44 +02:00
AB from home.homenet
3564f5d9c3 Added storage for n8n
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 6s
Check with kubeconform / lint (push) Successful in 5s
Auto-update README / Generate README and Create MR (push) Successful in 5s
2026-02-04 01:52:16 +02:00
AB from home.homenet
9df0a3c8b7 Added storage for n8n
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 7s
Check with kubeconform / lint (push) Successful in 5s
Auto-update README / Generate README and Create MR (push) Successful in 5s
2026-02-04 01:49:56 +02:00
4 changed files with 51 additions and 21 deletions

View File

@@ -10,10 +10,8 @@ spec:
template:
type: Opaque
data:
postgres-password: |-
{{ .psql }}
N8N_ENCRYPTION_KEY: |-
{{ .enc-pass }}
postgres-password: "{{ .psql | trim }}"
N8N_ENCRYPTION_KEY: "{{ .enc_pass | trim }}"
data:
- secretKey: psql
sourceRef:
@@ -26,7 +24,7 @@ spec:
metadataPolicy: None
key: 2a9deb39-ef22-433e-a1be-df1555625e22
property: fields[13].value
- secretKey: enc-pass
- secretKey: enc_pass
sourceRef:
storeRef:
name: vaultwarden-login

View File

@@ -3,6 +3,7 @@ kind: Kustomization
resources:
- external-secrets.yaml
- storage.yaml
helmCharts:
- name: n8n

12
k8s/apps/n8n/storage.yaml Normal file
View File

@@ -0,0 +1,12 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: n8n-home
spec:
accessModes:
- ReadWriteMany
storageClassName: nfs-csi
resources:
requests:
storage: 10Gi

View File

@@ -1,20 +1,15 @@
webhook:
url: https://n8n.hexor.cy
nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net
db:
type: postgresdb
worker:
mode: queue
redis:
enabled: true
externalPostgresql:
existingSecret: postgres-password
host: "psql.psql.svc"
username: "n8n"
database: "n8n"
podSecurityContext:
fsGroup: 1000
fsGroupChangePolicy: "OnRootMismatch"
securityContext:
runAsUser: 1000
runAsGroup: 1000
main:
resources:
@@ -24,6 +19,33 @@ main:
limits:
cpu: 512m
memory: 512Mi
persistence:
enabled: true
existingClaim: n8n-home
mountPath: /home/node/.n8n
worker:
mode: queue
# persistence:
# enabled: true
# existingClaim: n8n-home
# mountPath: /home/node/.n8n
webhook:
url: https://n8n.hexor.cy
# persistence:
# enabled: true
# existingClaim: n8n-home
# mountPath: /home/node/.n8n
redis:
enabled: true
externalPostgresql:
existingSecret: postgres-password
host: "psql.psql.svc"
username: "n8n"
database: "n8n"
ingress:
enabled: true
@@ -42,6 +64,3 @@ ingress:
hosts:
- '*.hexor.cy'
nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net