diff --git a/manifests/bin/deploy.sh b/manifests/bin/deploy.sh index 9d3e7be..87b0960 100755 --- a/manifests/bin/deploy.sh +++ b/manifests/bin/deploy.sh @@ -34,8 +34,7 @@ function kgcmkey() { kcreatesec searxng-secrets \ --from-literal=SEARXNG_SECRET="$(kgseckey searxng-secrets SEARXNG_SECRET || openssl rand -hex 32)" -kcreatecm searxng-settings --from-file=settings.yml -kcreatecm searxng-limiter --from-file=limiter.toml +kcreatecm searxng --from-file=settings.yml --from-file=limiter.toml kapply common/redis.yaml common/app.yaml diff --git a/manifests/common/app.yaml b/manifests/common/app.yaml index b32fdfa..9eced47 100644 --- a/manifests/common/app.yaml +++ b/manifests/common/app.yaml @@ -70,18 +70,9 @@ spec: - secretRef: name: searxng-secrets volumeMounts: - - name: limiter - mountPath: /etc/searxng/limiter.toml - subPath: limiter.toml - readOnly: true - - name: settings - mountPath: /etc/searxng/settings.yml - subPath: settings.yml - readOnly: true + - name: config + mountPath: /etc/searxng/ volumes: - - name: settings + - name: config configMap: - name: searxng-settings - - name: limiter - configMap: - name: searxng-limiter + name: searxng