From 8049e51a75a9a8c4e2943433911ffa52608a9b94 Mon Sep 17 00:00:00 2001 From: ange Date: Mon, 23 Dec 2024 02:53:05 +0000 Subject: [PATCH] fix: mount all config files pod --- manifests/bin/deploy.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/manifests/bin/deploy.sh b/manifests/bin/deploy.sh index a0213a1..c393499 100755 --- a/manifests/bin/deploy.sh +++ b/manifests/bin/deploy.sh @@ -37,9 +37,11 @@ function kgcmkey() { kcreatesec searxng \ --from-literal=SEARXNG_SECRET="$(kgseckey searxng SEARXNG_SECRET || openssl rand -hex 32)" -kcreatecm searxng \ - --from-file=config/settings.yml \ - --from-file=config/limiter.toml +opts=() +for f in config/*; do + opts+=(--from-file="$f") +done +kcreatecm searxng "${opts[@]}" kapply common/valkey.yaml common/app.yaml