Compare commits
7 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c867bc161 | ||
| 88e5b5f1b7 | |||
|
|
6f8ca40108 | ||
|
|
da37ae71be | ||
|
|
a4a1fecbd1 | ||
|
|
3564f5d9c3 | ||
|
|
9df0a3c8b7 |
@@ -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
|
||||
|
||||
@@ -3,6 +3,7 @@ kind: Kustomization
|
||||
|
||||
resources:
|
||||
- external-secrets.yaml
|
||||
- storage.yaml
|
||||
|
||||
helmCharts:
|
||||
- name: n8n
|
||||
|
||||
12
k8s/apps/n8n/storage.yaml
Normal file
12
k8s/apps/n8n/storage.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: n8n-home
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: nfs-csi
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user