From a0e8849beba221e487b36180b39e0eb26c340652 Mon Sep 17 00:00:00 2001 From: ange Date: Sun, 22 Dec 2024 05:27:39 +0000 Subject: [PATCH] fix: bad xargs -0 --- manifests/bin/deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/bin/deploy.sh b/manifests/bin/deploy.sh index 4ba4027..2f10d1e 100755 --- a/manifests/bin/deploy.sh +++ b/manifests/bin/deploy.sh @@ -4,7 +4,7 @@ set -o pipefail function kapply() { for f in "$@"; do kubectl apply -f \ - <(envsubst "$(env | xargs -0 printf '$%s ')" < "manifests/$f") + <(envsubst "$(env | xargs printf '$%s ')" < "manifests/$f") done }; export -f kapply @@ -55,7 +55,7 @@ kcreatesec gitea \ kubectl delete pod secrets kcreatecm gitea \ - --from-file=app.ini=<(envsubst "$(env | xargs -0 printf '$%s ')" < config/app.ini) + --from-file=app.ini=<(envsubst "$(env | xargs printf '$%s ')" < config/app.ini) kapply common/job.yaml \ common/valkey.yaml \