Compare commits

..

1 Commits

Author SHA1 Message Date
gitea-admin ff77af1875 feat: deploy n8n workflow automation
Validate Manifests / validate (pull_request) Has been cancelled
2026-05-28 17:38:30 +00:00
5 changed files with 17 additions and 79 deletions
+17 -21
View File
@@ -17,32 +17,28 @@ spec:
spec:
containers:
- name: n8n
image: n8nio/n8n:1.57.0
image: docker.n8n.io/n8nio/n8n:1.74.0
ports:
- containerPort: 5678
env:
- name: N8N_HOST
value: "n8n.khalisio.com"
- name: N8N_PROTOCOL
value: "https"
- name: WEBHOOK_URL
value: "https://n8n.khalisio.com/"
- name: N8N_ENCRYPTION_KEY
valueFrom:
secretKeyRef:
name: n8n-secret
key: N8N_ENCRYPTION_KEY
envFrom:
- secretRef:
name: n8n-secret
resources:
requests:
cpu: 200m
memory: 256Mi
limits:
cpu: 1000m
cpu: 500m
memory: 1Gi
volumeMounts:
- name: n8n-data
mountPath: /home/node/.n8n
volumes:
- name: n8n-data
persistentVolumeClaim:
claimName: n8n-data
livenessProbe:
httpGet:
path: /healthz
port: 5678
initialDelaySeconds: 30
periodSeconds: 15
readinessProbe:
httpGet:
path: /healthz
port: 5678
initialDelaySeconds: 10
periodSeconds: 10
-18
View File
@@ -1,18 +0,0 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: n8n-secret
namespace: apps
spec:
refreshInterval: 1h
secretStoreRef:
name: vault
kind: ClusterSecretStore
target:
name: n8n-secret
creationPolicy: Owner
data:
- secretKey: N8N_ENCRYPTION_KEY
remoteRef:
key: secret/data/Talos Cluster/apps/n8n
property: N8N_ENCRYPTION_KEY
-17
View File
@@ -1,17 +0,0 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: n8n
namespace: apps
spec:
entryPoints:
- websecure
routes:
- match: Host(`n8n.khalisio.com`)
kind: Rule
services:
- name: n8n
port: 80
tls:
secretName: n8n-tls
certResolver: letsencrypt
-11
View File
@@ -1,11 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: n8n-data
namespace: apps
spec:
accessModes: [ReadWriteOnce]
storageClassName: longhorn
resources:
requests:
storage: 5Gi
-12
View File
@@ -1,12 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: n8n
namespace: apps
spec:
selector:
app: n8n
ports:
- port: 80
targetPort: 5678
type: ClusterIP