Compare commits

..

1 Commits

Author SHA1 Message Date
Gitea Actions Bot
0a853fb27d Auto-update README with current k8s applications
All checks were successful
Terraform / Terraform (pull_request) Successful in 19s
Generated by CI/CD workflow on 2026-02-04 12:25:53

This PR updates the README.md file with the current list of applications found in the k8s/ directory structure.
2026-02-04 12:25:53 +00:00
6 changed files with 83 additions and 126 deletions

View File

@@ -1,11 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# Updated: Fixed n8n volume permissions issue
resources:
- external-secrets.yaml
- storage.yaml
- rbac.yaml
helmCharts:
- name: n8n
@@ -15,9 +13,16 @@ helmCharts:
namespace: n8n
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
- name: yacy
repo: https://gt.hexor.cy/api/packages/ab/helm
version: 0.1.2
repo: https://raw.githubusercontent.com/yacy/yacy_search_server/master/charts
version: 0.1.0
releaseName: yacy
namespace: n8n
valuesFile: values-yacy.yaml

View File

@@ -1,71 +0,0 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: n8n-readonly
rules:
- apiGroups: [""]
resources:
- pods
- services
- endpoints
- persistentvolumeclaims
- persistentvolumes
- configmaps
- secrets
- nodes
- namespaces
- events
verbs: ["get", "list", "watch"]
- apiGroups: ["apps"]
resources:
- deployments
- replicasets
- statefulsets
- daemonsets
verbs: ["get", "list", "watch"]
- apiGroups: ["networking.k8s.io"]
resources:
- ingresses
- networkpolicies
verbs: ["get", "list", "watch"]
- apiGroups: ["extensions"]
resources:
- ingresses
verbs: ["get", "list", "watch"]
- apiGroups: ["autoscaling"]
resources:
- horizontalpodautoscalers
verbs: ["get", "list", "watch"]
- apiGroups: ["batch"]
resources:
- jobs
- cronjobs
verbs: ["get", "list", "watch"]
- apiGroups: ["metrics.k8s.io"]
resources:
- pods
- nodes
verbs: ["get", "list"]
- apiGroups: ["storage.k8s.io"]
resources:
- storageclasses
verbs: ["get", "list", "watch"]
- apiGroups: ["policy"]
resources:
- poddisruptionbudgets
verbs: ["get", "list", "watch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: n8n-readonly
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: n8n-readonly
subjects:
- kind: ServiceAccount
name: n8n-readonly
namespace: n8n

View File

@@ -17,32 +17,6 @@ main:
existingClaim: n8n-home
mountPath: /home/node/.n8n
podSecurityContext:
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
# Configure health probes for slow startup
main:
livenessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 120 # Дать время на запуск
periodSeconds: 30
timeoutSeconds: 10
failureThreshold: 6
readinessProbe:
httpGet:
path: /healthz/readiness
port: http
initialDelaySeconds: 60
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 10
worker:
mode: regular
@@ -54,12 +28,6 @@ redis:
existingEncryptionKeySecret: credentials
serviceAccount:
create: true
automount: true
annotations: {}
name: "n8n-readonly"
externalPostgresql:
existingSecret: credentials
host: "psql.psql.svc"

View File

@@ -0,0 +1,24 @@
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

View File

@@ -1,24 +1,61 @@
nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net
replicaCount: 1
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:
limits:
memory: 2Gi
requests:
cpu: 100m
memory: 1Gi
persistence:
enabled: true
size: 10Gi
accessMode: ReadWriteOnce
nodeSelector:
kubernetes.io/hostname: master.tail2fe2d.ts.net
yacy:
adminPassword: "yacy123"
initCrawlURLs:
- "https://www.example.com/"
memory: "Xmx1024m"
network:
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"
mode: "intranet" # standalone mode for local usage

View File

@@ -10,11 +10,5 @@ parameters:
reclaimPolicy: Retain
volumeBindingMode: Immediate
mountOptions:
- nfsvers=4.1
- rsize=1048576
- wsize=1048576
- timeo=14
- intr
- bg
- soft
- noatime
- vers=4
- hard