Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ff77af1875 |
@@ -17,32 +17,28 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: n8n
|
- name: n8n
|
||||||
image: n8nio/n8n:1.57.0
|
image: docker.n8n.io/n8nio/n8n:1.74.0
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5678
|
- containerPort: 5678
|
||||||
env:
|
envFrom:
|
||||||
- name: N8N_HOST
|
- secretRef:
|
||||||
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
|
name: n8n-secret
|
||||||
key: N8N_ENCRYPTION_KEY
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 1000m
|
cpu: 500m
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
volumeMounts:
|
livenessProbe:
|
||||||
- name: n8n-data
|
httpGet:
|
||||||
mountPath: /home/node/.n8n
|
path: /healthz
|
||||||
volumes:
|
port: 5678
|
||||||
- name: n8n-data
|
initialDelaySeconds: 30
|
||||||
persistentVolumeClaim:
|
periodSeconds: 15
|
||||||
claimName: n8n-data
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz
|
||||||
|
port: 5678
|
||||||
|
initialDelaySeconds: 10
|
||||||
|
periodSeconds: 10
|
||||||
|
|||||||
@@ -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
|
|
||||||
@@ -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
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: n8n-data
|
|
||||||
namespace: apps
|
|
||||||
spec:
|
|
||||||
accessModes: [ReadWriteOnce]
|
|
||||||
storageClassName: longhorn
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 5Gi
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: n8n
|
|
||||||
namespace: apps
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app: n8n
|
|
||||||
ports:
|
|
||||||
- port: 80
|
|
||||||
targetPort: 5678
|
|
||||||
type: ClusterIP
|
|
||||||
Reference in New Issue
Block a user