Compare commits

..

7 Commits

Author SHA1 Message Date
Gitea Actions Bot
6ae2d13070 Auto-update README with current k8s applications
All checks were successful
Terraform / Terraform (pull_request) Successful in 18s
Generated by CI/CD workflow on 2026-02-03 23:52:39

This PR updates the README.md file with the current list of applications found in the k8s/ directory structure.
2026-02-03 23:52:39 +00: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
ab
3157b0c325 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 5s
Auto-update README / Generate README and Create MR (push) Successful in 6s
2026-02-03 23:44:31 +00:00
AB from home.homenet
cbe1c23709 Added searxng
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 01:27:12 +02:00
AB from home.homenet
70198ca1c2 Added searxng
Some checks failed
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) Failing after 9s
2026-02-04 01:25:31 +02:00
AB from home.homenet
39207fcb39 Added 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 6s
Auto-update README / Generate README and Create MR (push) Successful in 5s
2026-02-04 00:07:02 +02:00
5 changed files with 76 additions and 23 deletions

View File

@@ -2,18 +2,20 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: postgres-password
name: credentials
spec:
target:
name: postgres-password
name: credentials
deletionPolicy: Delete
template:
type: Opaque
data:
postgres-password: |-
{{ .n8n }}
{{ .psql }}
N8N_ENCRYPTION_KEY: |-
{{ .enc-pass }}
data:
- secretKey: n8n
- secretKey: psql
sourceRef:
storeRef:
name: vaultwarden-login
@@ -24,5 +26,14 @@ spec:
metadataPolicy: None
key: 2a9deb39-ef22-433e-a1be-df1555625e22
property: fields[13].value
- secretKey: enc-pass
sourceRef:
storeRef:
name: vaultwarden-login
kind: ClusterSecretStore
remoteRef:
conversionStrategy: Default
decodingStrategy: None
metadataPolicy: None
key: 18c92d73-9637-4419-8642-7f7b308460cb
property: fields[0].value

View File

@@ -3,6 +3,7 @@ kind: Kustomization
resources:
- external-secrets.yaml
- storage.yaml
helmCharts:
- name: n8n
@@ -10,6 +11,12 @@ helmCharts:
version: 1.16.28
releaseName: n8n
namespace: n8n
valuesFile: values.yaml
valuesFile: values-n8n.yaml
includeCRDs: true
- name: searxng
repo: https://unknowniq.github.io/helm-charts/
version: 0.1.3
releaseName: searxng
namespace: n8n
valuesFile: values-searxng.yaml
includeCRDs: true

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,18 +1,9 @@
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"
main:
resources:
requests:
@@ -21,6 +12,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
@@ -39,6 +57,3 @@ ingress:
hosts:
- '*.hexor.cy'
nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net

View File

@@ -0,0 +1,8 @@
config:
general:
instance_name: "HexorSearXNG"
valkey:
enabled: true
nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net