feat: rename searxng-secret -> searxng
Some checks failed
/ deploy (push) Failing after 0s

This commit is contained in:
ange 2024-05-16 01:33:29 +02:00
parent dce7b7d0cc
commit b741814056
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
3 changed files with 4 additions and 5 deletions

View File

@ -14,5 +14,4 @@ services:
environment: environment:
- SEARXNG_SECRET=secret # $(openssl rand -hex 32) - SEARXNG_SECRET=secret # $(openssl rand -hex 32)
volumes: volumes:
- ./limiter.toml:/etc/searxng/limiter.toml:ro - ./config/:/etc/searxng/
- ./settings.yml:/etc/searxng/settings.yml:ro

View File

@ -31,8 +31,8 @@ function kgcmkey() {
} }
kcreatesec searxng-secrets \ kcreatesec searxng \
--from-literal=SEARXNG_SECRET="$(kgseckey searxng-secrets SEARXNG_SECRET || openssl rand -hex 32)" --from-literal=SEARXNG_SECRET="$(kgseckey searxng SEARXNG_SECRET || openssl rand -hex 32)"
kcreatecm searxng \ kcreatecm searxng \
--from-file=config/settings.yml \ --from-file=config/settings.yml \

View File

@ -68,7 +68,7 @@ spec:
containerPort: 8080 containerPort: 8080
envFrom: envFrom:
- secretRef: - secretRef:
name: searxng-secrets name: searxng
volumeMounts: volumeMounts:
- name: config - name: config
mountPath: /etc/searxng/limiter.toml mountPath: /etc/searxng/limiter.toml