From 9ca9ea411bddbda24d2a81ce9e52695643ac81e0 Mon Sep 17 00:00:00 2001 From: ange Date: Mon, 23 Dec 2024 02:13:47 +0000 Subject: [PATCH] fix: hardcoded image name --- manifests/bin/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/bin/deploy.sh b/manifests/bin/deploy.sh index 7947f4d..ad2271f 100755 --- a/manifests/bin/deploy.sh +++ b/manifests/bin/deploy.sh @@ -46,7 +46,7 @@ export POSTGRES_USER; POSTGRES_USER="$(kgseckey postgres-app user)" export POSTGRES_PASSWORD; POSTGRES_PASSWORD="$(kgseckey postgres-app password)" # shellcheck disable=SC1090,SC2016 -. <(kubectl run -i --rm --image "docker.io/gitea/gitea:1.22.6-rootless" secrets -- bash <<< 'echo SECRET_KEY="$(gitea generate secret SECRET_KEY)" INTERNAL_TOKEN="$(gitea generate secret INTERNAL_TOKEN)" JWT_SECRET="$(gitea generate secret JWT_SECRET)"' | head -n1) +. <(kubectl run -i --rm --image "$IMAGEAPP" secrets -- bash <<< 'echo SECRET_KEY="$(gitea generate secret SECRET_KEY)" INTERNAL_TOKEN="$(gitea generate secret INTERNAL_TOKEN)" JWT_SECRET="$(gitea generate secret JWT_SECRET)"' | head -n1) kcreatesec gitea \ --from-literal=secret_key="$(kgseckey gitea secret_key || echo "$SECRET_KEY")" \