Compare commits
13 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9ca31b9a3 | ||
|
|
ecd475e83d | ||
| 69aed3fe23 | |||
|
|
d74479c935 | ||
|
|
e5ad65b63b | ||
|
|
0b143959b9 | ||
|
|
d35da03726 | ||
|
|
d5a666ac62 | ||
| cb2a4384f3 | |||
| 9ec3e8ef56 | |||
|
|
02986ae5b6 | ||
|
|
be766e24c8 | ||
|
|
4c1f959d62 |
@@ -1,5 +1,6 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
# Updated: Fixed n8n volume permissions issue
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- external-secrets.yaml
|
- external-secrets.yaml
|
||||||
@@ -13,16 +14,9 @@ helmCharts:
|
|||||||
namespace: n8n
|
namespace: n8n
|
||||||
valuesFile: values-n8n.yaml
|
valuesFile: values-n8n.yaml
|
||||||
includeCRDs: true
|
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
|
|
||||||
- name: yacy
|
- name: yacy
|
||||||
repo: https://raw.githubusercontent.com/yacy/yacy_search_server/master/charts
|
repo: https://gt.hexor.cy/api/packages/ab/helm
|
||||||
version: 0.1.0
|
version: 0.1.2
|
||||||
releaseName: yacy
|
releaseName: yacy
|
||||||
namespace: n8n
|
namespace: n8n
|
||||||
valuesFile: values-yacy.yaml
|
valuesFile: values-yacy.yaml
|
||||||
|
|||||||
@@ -17,6 +17,32 @@ main:
|
|||||||
existingClaim: n8n-home
|
existingClaim: n8n-home
|
||||||
mountPath: /home/node/.n8n
|
mountPath: /home/node/.n8n
|
||||||
|
|
||||||
|
podSecurityContext:
|
||||||
|
fsGroup: 1000
|
||||||
|
fsGroupChangePolicy: "OnRootMismatch"
|
||||||
|
|
||||||
|
# Fix NFS permission issues - required for NFS volumes
|
||||||
|
initContainers:
|
||||||
|
- name: fix-permissions
|
||||||
|
image: busybox:1.35
|
||||||
|
command:
|
||||||
|
- sh
|
||||||
|
- -c
|
||||||
|
- |
|
||||||
|
echo "Fixing permissions for NFS volume..."
|
||||||
|
if [ ! -d "/home/node/.n8n" ]; then
|
||||||
|
mkdir -p /home/node/.n8n
|
||||||
|
fi
|
||||||
|
chown -R 1000:1000 /home/node/.n8n
|
||||||
|
chmod -R 775 /home/node/.n8n
|
||||||
|
echo "Permissions fixed: $(ls -ld /home/node/.n8n)"
|
||||||
|
volumeMounts:
|
||||||
|
- name: node-modules
|
||||||
|
mountPath: /home/node/.n8n
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 0
|
||||||
|
runAsGroup: 0
|
||||||
|
|
||||||
worker:
|
worker:
|
||||||
mode: regular
|
mode: regular
|
||||||
|
|
||||||
|
|||||||
@@ -1,24 +0,0 @@
|
|||||||
config:
|
|
||||||
general:
|
|
||||||
instance_name: "HexorSearXNG"
|
|
||||||
debug: true
|
|
||||||
server:
|
|
||||||
limiter: false
|
|
||||||
public_instance: false
|
|
||||||
method: "POST"
|
|
||||||
search:
|
|
||||||
safe_search: 0
|
|
||||||
|
|
||||||
extraConfig:
|
|
||||||
botdetection:
|
|
||||||
ip_lists:
|
|
||||||
pass_ip:
|
|
||||||
- '0.0.0.0/0'
|
|
||||||
- '::0/0'
|
|
||||||
ip_limit:
|
|
||||||
filter_link_local: false
|
|
||||||
link_token: false
|
|
||||||
valkey:
|
|
||||||
enabled: true
|
|
||||||
nodeSelector:
|
|
||||||
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
|
||||||
@@ -1,61 +1,24 @@
|
|||||||
replicaCount: 1
|
nodeSelector:
|
||||||
|
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
||||||
image:
|
|
||||||
repository: yacy/yacy_search_server
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
tag: "latest"
|
|
||||||
|
|
||||||
nameOverride: ""
|
|
||||||
fullnameOverride: ""
|
|
||||||
|
|
||||||
serviceAccount:
|
|
||||||
create: true
|
|
||||||
automount: true
|
|
||||||
annotations: {}
|
|
||||||
name: ""
|
|
||||||
|
|
||||||
podAnnotations: {}
|
|
||||||
podLabels: {}
|
|
||||||
|
|
||||||
podSecurityContext:
|
|
||||||
runAsNonRoot: true
|
|
||||||
runAsUser: 1000
|
|
||||||
runAsGroup: 1000
|
|
||||||
fsGroup: 1000
|
|
||||||
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
capabilities:
|
|
||||||
drop:
|
|
||||||
- ALL
|
|
||||||
readOnlyRootFilesystem: false
|
|
||||||
|
|
||||||
service:
|
|
||||||
type: ClusterIP
|
|
||||||
port: 8090
|
|
||||||
|
|
||||||
ingress:
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
accessMode: ReadWriteOnce
|
|
||||||
|
|
||||||
nodeSelector:
|
|
||||||
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
|
||||||
|
|
||||||
yacy:
|
yacy:
|
||||||
adminPassword: "yacy123"
|
|
||||||
initCrawlURLs:
|
|
||||||
- "https://www.example.com/"
|
|
||||||
memory: "Xmx1024m"
|
|
||||||
network:
|
network:
|
||||||
mode: "intranet" # standalone mode for local usage
|
mode: "intranet"
|
||||||
|
config:
|
||||||
|
network.unit.bootstrap.seedlist: ""
|
||||||
|
network.unit.remotecrawl: "false"
|
||||||
|
network.unit.dhtredundancy.junior: "1"
|
||||||
|
network.unit.dhtredundancy.senior: "1"
|
||||||
|
index.receive.allow: "false"
|
||||||
|
index.distribute.allow: "false"
|
||||||
|
crawl.response.timeout: "10000"
|
||||||
@@ -10,5 +10,11 @@ parameters:
|
|||||||
reclaimPolicy: Retain
|
reclaimPolicy: Retain
|
||||||
volumeBindingMode: Immediate
|
volumeBindingMode: Immediate
|
||||||
mountOptions:
|
mountOptions:
|
||||||
- vers=4
|
- nfsvers=4.1
|
||||||
- hard
|
- rsize=1048576
|
||||||
|
- wsize=1048576
|
||||||
|
- timeo=14
|
||||||
|
- intr
|
||||||
|
- bg
|
||||||
|
- soft
|
||||||
|
- noatime
|
||||||
|
|||||||
Reference in New Issue
Block a user