infra(admin): add ADMIN_RPC_URL env var and adminrpc to push script
This commit is contained in:
parent
d193c6113d
commit
16b681c55b
@ -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: { }
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user