- Add Workspace domain (entity, repository, service, handler, DTO) - Add multi-tenant K8s client with tenant binding and quota management - Add K8s diagnostics client (instance diagnostics) - Add authorization middleware (authz package) - Restructure frontend to feature-based architecture (features/) - Add User Management page in configuration - Add AccessDenied page and route guards - Refactor shared components (form inputs, layout, UI) - Update Tailwind config for new design system - Add comprehensive documentation (docs/, tasks/, plans) - Improve cluster service with better kubeconfig handling - Add tests for crypto, config, helm client, tenant binding
80 lines
2.2 KiB
JSON
80 lines
2.2 KiB
JSON
{
|
|
"meta": {
|
|
"createdAt": "2026-05-11T09:58:00Z",
|
|
"apiBase": "http://10.6.80.114:18080/api/v1",
|
|
"adminUsername": "admin",
|
|
"adminPassword": "admin123"
|
|
},
|
|
"existingResources": {
|
|
"clusters": {
|
|
"k8s": {
|
|
"id": "23880994-dfe4-48d0-abc0-b49692cc630a",
|
|
"host": "https://10.6.80.12:6443"
|
|
},
|
|
"k3s": {
|
|
"id": "dbf824f1-9962-4d8e-881e-870c75fdb6f5",
|
|
"host": "https://10.6.80.23:6443"
|
|
}
|
|
},
|
|
"registries": {
|
|
"harbor-bwgdi": {
|
|
"id": "83b823af-873b-457c-912c-9ccde3cb12e6",
|
|
"url": "https://harbor.bwgdi.com"
|
|
}
|
|
}
|
|
},
|
|
"testUsers": [
|
|
{
|
|
"id": "0c70fce6-fa69-4231-979a-5970ff9b854b",
|
|
"username": "test-user-a",
|
|
"password": "TestUserA123!",
|
|
"email": "test-user-a@local.ocdp",
|
|
"role": "user",
|
|
"purpose": "Frontend UI testing",
|
|
"namespace": "ocdp-u-test-a",
|
|
"defaultClusterId": "dbf824f1-9962-4d8e-881e-870c75fdb6f5",
|
|
"quotaCpu": "4",
|
|
"quotaMemory": "8Gi",
|
|
"quotaGpu": "1",
|
|
"quotaGpuMemory": "5000"
|
|
},
|
|
{
|
|
"id": "819b12ec-718e-48be-92bc-0cd1f7205926",
|
|
"username": "test-user-b",
|
|
"password": "TestUserB123!",
|
|
"email": "test-user-b@local.ocdp",
|
|
"role": "user",
|
|
"purpose": "API/deploy testing",
|
|
"namespace": "ocdp-u-test-b",
|
|
"defaultClusterId": "dbf824f1-9962-4d8e-881e-870c75fdb6f5",
|
|
"quotaCpu": "2",
|
|
"quotaMemory": "4Gi",
|
|
"quotaGpu": "0",
|
|
"quotaGpuMemory": "0"
|
|
},
|
|
{
|
|
"id": "04ef67ba-49c2-44e2-87b4-b71b5d9f36dc",
|
|
"username": "test-user-c",
|
|
"password": "TestUserC123!",
|
|
"email": "test-user-c@local.ocdp",
|
|
"role": "user",
|
|
"purpose": "Permission isolation testing",
|
|
"namespace": "ocdp-u-test-c",
|
|
"defaultClusterId": "dbf824f1-9962-4d8e-881e-870c75fdb6f5",
|
|
"quotaCpu": "4",
|
|
"quotaMemory": "8Gi",
|
|
"quotaGpu": "1",
|
|
"quotaGpuMemory": "5000"
|
|
},
|
|
{
|
|
"id": "8bcffd0e-4e7a-4e9a-a47b-bfdb463698c2",
|
|
"username": "test-admin-d",
|
|
"password": "TestAdminD123!",
|
|
"email": "test-admin-d@local.ocdp",
|
|
"role": "admin",
|
|
"purpose": "Admin features testing",
|
|
"namespace": "ocdp-ws-default"
|
|
}
|
|
]
|
|
}
|