diff --git a/compose.yaml b/compose.yaml index a0c4660..46c699f 100644 --- a/compose.yaml +++ b/compose.yaml @@ -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/ diff --git a/manifests/bin/deploy.sh b/manifests/bin/deploy.sh index cb74842..033aa37 100755 --- a/manifests/bin/deploy.sh +++ b/manifests/bin/deploy.sh @@ -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 \ diff --git a/manifests/common/app.yaml b/manifests/common/app.yaml index 070251b..bc8fd3f 100644 --- a/manifests/common/app.yaml +++ b/manifests/common/app.yaml @@ -68,7 +68,7 @@ spec: containerPort: 8080 envFrom: - secretRef: - name: searxng-secrets + name: searxng volumeMounts: - name: config mountPath: /etc/searxng/limiter.toml