Commit 9bf017b
Console (#84)
* console
* console (#78)
* Console (#80)
* console
* feat(console):deployment console
* Console web (#81)
* feat: console web
* feat: console web
* feat:console-web tenantlist clusterlist (#85)
* style: cargo check fmt (#86)
* fix: resolve clippy warnings (empty_line_after_doc, collapsible_if, map, unwrap) (#87)
Made-with: Cursor
* Console (#88)
* console: same-origin /api/v1, nginx proxy, RBAC, CORS order, script/docs fixes
- console-web/nginx.conf: proxy /api/ to rustfs-operator-console:9090 so default
apiBaseUrl /api/v1 works in-cluster; try_files $uri.html to avoid 301 to /cluster/
- deploy-rustfs.sh: build console-web without NEXT_PUBLIC_API_BASE_URL, use --no-cache;
access info: same-origin hint, rustfs-operator token, recovery build without 9090
- operator-rbac: add create/delete tenants, create namespaces (Console login token)
- src/console/server.rs: put CorsLayer before auth so OPTIONS preflight gets CORS response;
fix comment to match execution order (Trace -> Compression -> Cors -> auth)
Made-with: Cursor
* fix: 集群资源 allocatable 累加与展示; deploy-rustfs operator 构建加 --no-cache
Made-with: Cursor
* Console style change (#90)
* style:Modify the layout and component styles
* feat: i18n suppert
* feat: theme Switch
* feat : link
* style: change button style
* fix: link url
* fix: overflow style
* Console (#91)
* 4node deploy
* review
* feat: Add Swagger UI, Makefile with pre-commit, fix clippy/fmt
- Add utoipa + utoipa-swagger-ui for Console API docs
- Add OpenAPI spec and Swagger UI at /swagger-ui
- Add Makefile with pre-commit (fmt-check, clippy, test)
- Fix clippy: collapsible_if, unwrap, unnecessary_map_or
- Apply cargo fmt
Made-with: Cursor
* chore: reorganize scripts and config layout, update doc references (#93)
* review
* feat: Add Swagger UI, Makefile with pre-commit, fix clippy/fmt
- Add utoipa + utoipa-swagger-ui for Console API docs
- Add OpenAPI spec and Swagger UI at /swagger-ui
- Add Makefile with pre-commit (fmt-check, clippy, test)
- Fix clippy: collapsible_if, unwrap, unnecessary_map_or
- Apply cargo fmt
Made-with: Cursor
* chore: reorganize scripts and config layout, update doc references
- Move deploy/cleanup/check scripts under scripts/ (deploy, cleanup, check, test)
- Move Kind 4-node config to deploy/kind/kind-rustfs-cluster.yaml
- Add PROJECT_ROOT resolution in scripts so they run from any cwd
- Update CLAUDE.md, README.md, deploy docs and k8s-dev comments with new paths
- Remove legacy root-level scripts and CONSOLE-DEVELOPMENT-PLAN.md
Made-with: Cursor
* console: tenant detail static route, events resilience, RBAC, pre-commit frontend lint (#94)
* review
* feat: Add Swagger UI, Makefile with pre-commit, fix clippy/fmt
- Add utoipa + utoipa-swagger-ui for Console API docs
- Add OpenAPI spec and Swagger UI at /swagger-ui
- Add Makefile with pre-commit (fmt-check, clippy, test)
- Fix clippy: collapsible_if, unwrap, unnecessary_map_or
- Apply cargo fmt
Made-with: Cursor
* chore: reorganize scripts and config layout, update doc references
- Move deploy/cleanup/check scripts under scripts/ (deploy, cleanup, check, test)
- Move Kind 4-node config to deploy/kind/kind-rustfs-cluster.yaml
- Add PROJECT_ROOT resolution in scripts so they run from any cwd
- Update CLAUDE.md, README.md, deploy docs and k8s-dev comments with new paths
- Remove legacy root-level scripts and CONSOLE-DEVELOPMENT-PLAN.md
Made-with: Cursor
* console: tenant detail static route, events resilience, RBAC, pre-commit frontend lint
- Tenant detail: use /tenants/detail?namespace=&name= for static export; add Suspense for useSearchParams
- Legacy /tenants/[ns]/[name] redirects to query-param URL
- Events API: return 200 with empty list on list failure to avoid 500 breaking detail page
- Frontend: Promise.allSettled for tenant detail so events failure does not block page
- RBAC: pods/log get, pods delete, events get/list/watch for console and operator
- Services copy: clarify only tenant-owned services are listed
- Pools tab: note that all pools are in use (unified cluster)
- pre-commit: add console-lint (ESLint) and console-fmt-check (Prettier); make console-fmt
Made-with: Cursor
---------
Co-authored-by: cxymds <Cxymds@qq.com>1 parent d78d6b6 commit 9bf017b
186 files changed
Lines changed: 30260 additions & 420 deletions
File tree
- .gemini
- .github
- actions/setup
- workflows
- console-web
- app
- (auth)
- auth/login
- (dashboard)
- cluster
- tenants
- [namespace]/[name]
- detail
- new
- components
- providers
- ui
- contexts
- i18n/locales
- lib
- public
- types
- deploy
- k8s-dev
- kind
- rustfs-operator
- crds
- templates
- docs
- examples
- scripts
- check
- cleanup
- deploy
- test
- src
- console
- handlers
- middleware
- models
- routes
- types
- v1alpha1
- status
- tenant
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File mode changed.
File mode changed.
File mode changed.
File mode changed.
File mode changed.
File mode changed.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
File mode changed.
File mode changed.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
46 | 55 | | |
47 | 56 | | |
48 | 57 | | |
| |||
0 commit comments