fix: user secret name
Some checks failed
/ deploy (push) Failing after 4s

This commit is contained in:
ange 2024-12-22 05:26:20 +00:00
parent 26f48e8132
commit 56e937a224
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
3 changed files with 5 additions and 5 deletions

4
.env
View File

@ -1,3 +1,3 @@
PROD_URL=git.gmoker.com
IMAGEAPP=docker.io/gitea/gitea:1.22.2-rootless
IMAGERUNNER=docker.io/gitea/act_runner:0.2.10-dind-rootless
IMAGEAPP=docker.io/gitea/gitea:1.22.6-rootless
IMAGERUNNER=docker.io/gitea/act_runner:0.2.11-dind-rootless

View File

@ -28,6 +28,6 @@ fi
kcreatesec "$SECRET" \
--from-literal=email="$NAME@$BASE_URL" \
--from-literal=username="$SECRET" \
--from-literal=username="$NAME" \
--from-literal=password="$p" \
"${opts[@]}"

View File

@ -4,7 +4,7 @@ set -o pipefail
function kapply() {
for f in "$@"; do
kubectl apply -f \
<(envsubst "$(env | xargs printf '$%s ')" < "manifests/$f")
<(envsubst "$(env | xargs -0 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 printf '$%s ')" < config/app.ini)
--from-file=app.ini=<(envsubst "$(env | xargs -0 printf '$%s ')" < config/app.ini)
kapply common/job.yaml \
common/valkey.yaml \