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:
- SEARXNG_SECRET=secret # $(openssl rand -hex 32)
volumes:
- ./limiter.toml:/etc/searxng/limiter.toml:ro
- ./settings.yml:/etc/searxng/settings.yml:ro
- ./config/:/etc/searxng/

View File

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

View File

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