infra(admin): add ADMIN_RPC_URL env var and adminrpc to push script

This commit is contained in:
ZhenYi 2026-04-22 20:56:10 +08:00
parent d193c6113d
commit 16b681c55b
2 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,7 @@ admin:
COOKIE_SECURE: false
COOKIE_SAME_SITE: lax
APP_NEXTAUTH_SECRET: ""
ADMIN_RPC_URL: adminrpc.gitdataai.svc.cluster.local:3001
nodeSelector: { }

View File

@ -21,7 +21,7 @@ const TAG = process.env.TAG || GIT_SHA_SHORT;
const DOCKER_USER = process.env.DOCKER_USER || process.env.HARBOR_USERNAME;
const DOCKER_PASS = process.env.DOCKER_PASS || process.env.HARBOR_PASSWORD;
const SERVICES = ['app', 'gitserver', 'email-worker', 'git-hook', 'operator', 'static'];
const SERVICES = ['app', 'gitserver', 'email-worker', 'git-hook', 'operator', 'static', 'adminrpc'];
const args = process.argv.slice(2);
const targets = args.length > 0 ? args : SERVICES;