Compare commits
11 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c867bc161 | ||
| 88e5b5f1b7 | |||
|
|
6f8ca40108 | ||
|
|
da37ae71be | ||
|
|
a4a1fecbd1 | ||
|
|
3564f5d9c3 | ||
|
|
9df0a3c8b7 | ||
| 3157b0c325 | |||
|
|
cbe1c23709 | ||
|
|
70198ca1c2 | ||
|
|
39207fcb39 |
@@ -44,6 +44,7 @@ ArgoCD homelab project
|
|||||||
| **jellyfin** | [](https://ag.hexor.cy/applications/argocd/jellyfin) |
|
| **jellyfin** | [](https://ag.hexor.cy/applications/argocd/jellyfin) |
|
||||||
| **k8s-secrets** | [](https://ag.hexor.cy/applications/argocd/k8s-secrets) |
|
| **k8s-secrets** | [](https://ag.hexor.cy/applications/argocd/k8s-secrets) |
|
||||||
| **khm** | [](https://ag.hexor.cy/applications/argocd/khm) |
|
| **khm** | [](https://ag.hexor.cy/applications/argocd/khm) |
|
||||||
|
| **n8n** | [](https://ag.hexor.cy/applications/argocd/n8n) |
|
||||||
| **ollama** | [](https://ag.hexor.cy/applications/argocd/ollama) |
|
| **ollama** | [](https://ag.hexor.cy/applications/argocd/ollama) |
|
||||||
| **paperless** | [](https://ag.hexor.cy/applications/argocd/paperless) |
|
| **paperless** | [](https://ag.hexor.cy/applications/argocd/paperless) |
|
||||||
| **pasarguard** | [](https://ag.hexor.cy/applications/argocd/pasarguard) |
|
| **pasarguard** | [](https://ag.hexor.cy/applications/argocd/pasarguard) |
|
||||||
|
|||||||
@@ -2,18 +2,18 @@
|
|||||||
apiVersion: external-secrets.io/v1
|
apiVersion: external-secrets.io/v1
|
||||||
kind: ExternalSecret
|
kind: ExternalSecret
|
||||||
metadata:
|
metadata:
|
||||||
name: postgres-password
|
name: credentials
|
||||||
spec:
|
spec:
|
||||||
target:
|
target:
|
||||||
name: postgres-password
|
name: credentials
|
||||||
deletionPolicy: Delete
|
deletionPolicy: Delete
|
||||||
template:
|
template:
|
||||||
type: Opaque
|
type: Opaque
|
||||||
data:
|
data:
|
||||||
postgres-password: |-
|
postgres-password: "{{ .psql | trim }}"
|
||||||
{{ .n8n }}
|
N8N_ENCRYPTION_KEY: "{{ .enc_pass | trim }}"
|
||||||
data:
|
data:
|
||||||
- secretKey: n8n
|
- secretKey: psql
|
||||||
sourceRef:
|
sourceRef:
|
||||||
storeRef:
|
storeRef:
|
||||||
name: vaultwarden-login
|
name: vaultwarden-login
|
||||||
@@ -24,5 +24,14 @@ spec:
|
|||||||
metadataPolicy: None
|
metadataPolicy: None
|
||||||
key: 2a9deb39-ef22-433e-a1be-df1555625e22
|
key: 2a9deb39-ef22-433e-a1be-df1555625e22
|
||||||
property: fields[13].value
|
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
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ kind: Kustomization
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
- external-secrets.yaml
|
- external-secrets.yaml
|
||||||
|
- storage.yaml
|
||||||
|
|
||||||
helmCharts:
|
helmCharts:
|
||||||
- name: n8n
|
- name: n8n
|
||||||
@@ -10,6 +11,12 @@ helmCharts:
|
|||||||
version: 1.16.28
|
version: 1.16.28
|
||||||
releaseName: n8n
|
releaseName: n8n
|
||||||
namespace: 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
|
includeCRDs: true
|
||||||
|
|
||||||
|
|||||||
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,17 +1,15 @@
|
|||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
||||||
|
|
||||||
db:
|
db:
|
||||||
type: postgresdb
|
type: postgresdb
|
||||||
|
|
||||||
worker:
|
podSecurityContext:
|
||||||
mode: queue
|
fsGroup: 1000
|
||||||
|
fsGroupChangePolicy: "OnRootMismatch"
|
||||||
redis:
|
securityContext:
|
||||||
enabled: true
|
runAsUser: 1000
|
||||||
|
runAsGroup: 1000
|
||||||
externalPostgresql:
|
|
||||||
existingSecret: postgres-password
|
|
||||||
host: "psql.psql.svc"
|
|
||||||
username: "n8n"
|
|
||||||
database: "n8n"
|
|
||||||
|
|
||||||
main:
|
main:
|
||||||
resources:
|
resources:
|
||||||
@@ -21,6 +19,33 @@ main:
|
|||||||
limits:
|
limits:
|
||||||
cpu: 512m
|
cpu: 512m
|
||||||
memory: 512Mi
|
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:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -39,6 +64,3 @@ ingress:
|
|||||||
hosts:
|
hosts:
|
||||||
- '*.hexor.cy'
|
- '*.hexor.cy'
|
||||||
|
|
||||||
nodeSelector:
|
|
||||||
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
|
||||||
|
|
||||||
8
k8s/apps/n8n/values-searxng.yaml
Normal file
8
k8s/apps/n8n/values-searxng.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
config:
|
||||||
|
general:
|
||||||
|
instance_name: "HexorSearXNG"
|
||||||
|
|
||||||
|
valkey:
|
||||||
|
enabled: true
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
||||||
Reference in New Issue
Block a user