Files
pikasTech-unidesk/config/hwlab-test-accounts.yaml
2026-06-29 08:13:34 +00:00

166 lines
4.6 KiB
YAML

version: 1
kind: hwlab-test-accounts
metadata:
id: hwlab-test-accounts
owner: unidesk
relatedIssues:
- 1238
- 1237
- 1236
sourceRoot: /root/unidesk/.state/secrets
targets:
- id: d601-v03
node: D601
lane: v03
namespace: hwlab-v03
publicUrl: https://hwlab.pikapython.com
userBilling:
serviceId: hwlab-user-billing
databaseUrlSource:
sourceRef: hwlab/d601-v03-cloud-api-db.env
sourceKey: DATABASE_URL
accounts:
- logicalId: d601-v03-admin
kind: bootstrap-admin-api-key
userId: usr_v03_admin
username: admin
displayName: HWLAB v0.3 Admin
role: admin
status: active
permissions:
- admin
- system:hwlab
- "tool:*"
sourceRef: /root/.config/hwlab-v03/master-server-admin-api-key.env
sourceKey: HWLAB_API_KEY
createIfMissing:
enabled: true
randomBase64Url:
bytes: 32
prefix: hwl_live_
hostEnvTargets:
- path: /home/ubuntu/.config/hwlab-v03/master-server-admin-api-key.env
envKey: HWLAB_API_KEY
mode: "0600"
target:
kind: kubernetes-secret
namespace: hwlab-v03
secretName: hwlab-v03-master-server-admin-api-key
targetKey: api-key
rolloutDeployment: hwlab-cloud-api
- logicalId: d601-v03-inner-test
kind: user-billing-api-key
userId: usr_d601_v03_inner_test
username: inner-test
email: inner-test@hwlab.local
displayName: HWLAB v0.3 T1 Test User
role: user
status: active
planId: default
initialCredits: 100
permissions:
- code_agent
- hwpod
- aipod
workbench:
projectId: prj_hwpod_workbench
lane: v03
sourceRef: hwlab/d601-v03-inner-test.env
sourceKey: HWLAB_API_KEY
createIfMissing:
enabled: true
randomBase64Url:
bytes: 32
prefix: hwl_live_
hostEnvTargets:
- path: /home/ubuntu/.config/hwlab-v03/inner-test-api-key.env
envKey: HWLAB_API_KEY
mode: "0600"
target:
kind: user-billing-api-key
serviceId: hwlab-user-billing
keyId: key_d601_v03_inner_test
keyName: D601 v0.3 inner test fixed key
targetKey: api-key
scopes:
- api
- id: jd01-v03
node: JD01
lane: v03
namespace: hwlab-v03
publicUrl: https://hwlab.pikapython.com
userBilling:
serviceId: hwlab-user-billing
databaseUrlSource:
sourceRef: hwlab/jd01-v03-postgres.env
sourceKey: DATABASE_URL
accounts:
- logicalId: jd01-v03-admin
kind: bootstrap-admin-api-key
userId: usr_v03_admin
username: admin
displayName: HWLAB v0.3 Admin
role: admin
status: active
permissions:
- admin
- system:hwlab
- "tool:*"
sourceRef: hwlab/jd01-v03-admin.env
sourceKey: HWLAB_API_KEY
createIfMissing:
enabled: true
randomBase64Url:
bytes: 32
prefix: hwl_live_
hostEnvTargets:
- path: /root/.config/hwlab-v03/master-server-admin-api-key.env
envKey: HWLAB_API_KEY
mode: "0600"
target:
kind: kubernetes-secret
namespace: hwlab-v03
secretName: hwlab-v03-master-server-admin-api-key
targetKey: api-key
rolloutDeployment: hwlab-cloud-api
- logicalId: jd01-v03-inner-test
kind: user-billing-api-key
userId: usr_jd01_v03_inner_test
username: inner-test
email: inner-test+jd01@hwlab.local
displayName: HWLAB v0.3 JD01 Test User
role: user
status: active
planId: default
initialCredits: 100
permissions:
- code_agent
- hwpod
- aipod
workbench:
projectId: prj_hwpod_workbench
lane: v03
sourceRef: hwlab/jd01-v03-inner-test.env
sourceKey: HWLAB_API_KEY
createIfMissing:
enabled: true
randomBase64Url:
bytes: 32
prefix: hwl_live_
hostEnvTargets:
- path: /root/.config/hwlab-v03/inner-test-api-key.env
envKey: HWLAB_API_KEY
mode: "0600"
target:
kind: user-billing-api-key
serviceId: hwlab-user-billing
keyId: key_jd01_v03_inner_test
keyName: JD01 v0.3 inner test fixed key
targetKey: api-key
scopes:
- api