Skip to content

Commit 9bf017b

Browse files
GatewayJcxymds
andauthored
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

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dockerignore

100644100755
File mode changed.

.envrc

100644100755
File mode changed.

.gemini/config.yml

100644100755
File mode changed.

.github/actions/setup/action.yml

100644100755
File mode changed.

.github/dependabot.yml

100644100755
File mode changed.

.github/workflows/ci.yml

100644100755
File mode changed.

.gitignore

100644100755
Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/target
2+
/vendor
23
.idea
34
.DS_Store
45
.direnv
@@ -10,4 +11,15 @@ deploy/rustfs-operator/Chart.lock
1011

1112
# Operator
1213
operator.log
13-
operator.pid
14+
operator.pid
15+
16+
# Console Web Frontend
17+
console-web/.next/
18+
console-web/docs/
19+
console-web/out/
20+
console-web/node_modules/
21+
.cursor/
22+
23+
# Docs / summaries (local or generated)
24+
CONSOLE-INTEGRATION-SUMMARY.md
25+
SCRIPTS-UPDATE.md

CHANGELOG.md

100644100755
File mode changed.

CLA.md

100644100755
File mode changed.

CLAUDE.md

100644100755
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ docker build -t operator .
4343

4444
Note: The Dockerfile uses a multi-stage build with Rust 1.91-alpine.
4545

46+
### Scripts (deploy / cleanup / check)
47+
Shell scripts are under `scripts/` and grouped by purpose. Run from project root (scripts will `cd` to project root automatically):
48+
- **Deploy**: `scripts/deploy/deploy-rustfs.sh`, `scripts/deploy/deploy-rustfs-4node.sh`
49+
- **Cleanup**: `scripts/cleanup/cleanup-rustfs.sh`, `scripts/cleanup/cleanup-rustfs-4node.sh`
50+
- **Check**: `scripts/check/check-rustfs.sh`
51+
- **Test script syntax**: `scripts/test/script-test.sh`
52+
- Kind 4-node config: `deploy/kind/kind-rustfs-cluster.yaml`
53+
See `scripts/README.md` for details.
54+
4655
## Architecture Overview
4756

4857
### Critical Architectural Understanding

0 commit comments

Comments
 (0)