Merged
Conversation
- Add GET/PUT encryption and security-context handlers and routes - Require kmsSecret for Vault backend in reconcile and API validation - Validate vault.endpoint and kmsSecretName in update_encryption (400 on invalid) - Apply rustfmt and Prettier formatting Made-with: Cursor
- Relax Node requirement from >=22 to >=20 for pre-commit in CI/dev - Add .nvmrc (22) for nvm use - Apply Prettier to page.tsx, tenants pages, globals.css, topology mock - Fix useEffect deps: add initialYamlEditable in tenant-detail-client Made-with: Cursor
GatewayJ
added a commit
that referenced
this pull request
Mar 20, 2026
) * feat(console): add GET/PUT tenant YAML API endpoint Add /api/v1/namespaces/{namespace}/tenants/{name}/yaml for reading and editing the full Tenant CR as YAML (similar to MinIO operator). GET: returns the complete Tenant CR serialized as YAML (managedFields stripped for readability). PUT: accepts edited YAML, validates name/namespace match, pool uniqueness, and safely updates only spec/labels/annotations/finalizers while preserving resourceVersion and immutable metadata. Also applies Prettier formatting to existing console-web files. Made-with: Cursor * fix(console-web): add .dockerignore to fix Docker build (#97) * feat(console): add GET/PUT tenant YAML API endpoint and PR template Add /api/v1/namespaces/{namespace}/tenants/{name}/yaml for reading and editing the full Tenant CR as YAML (similar to MinIO operator). GET: returns the complete Tenant CR serialized as YAML (managedFields stripped for readability). PUT: accepts edited YAML, validates name/namespace match, pool uniqueness, and safely updates only spec/labels/annotations/finalizers while preserving resourceVersion and immutable metadata. Also adds AGENTS.md (global + .github), PR template, and applies Prettier formatting to existing console-web files. Made-with: Cursor * fix(console-web): add .dockerignore to fix Docker build (node_modules copy conflict) Made-with: Cursor * feat : Tenant yaml edit * feat: add status ,Namespace ,searchbox * feat: Modify tenant action * feat: yaml copy and edit * fix: handleUnauthorized logout * feat(console): add tenant state counts API and state filtering * feat:Tenant state number * feat: total card * feat: remove cluster router * feat: UI Box * feat: number count * feat: topology/overview api * fix: parseSizeToBytes * Console yaml (#98) * feat(console): encryption and security-context APIs with validation - Add GET/PUT encryption and security-context handlers and routes - Require kmsSecret for Vault backend in reconcile and API validation - Validate vault.endpoint and kmsSecretName in update_encryption (400 on invalid) - Apply rustfmt and Prettier formatting Made-with: Cursor * chore(console-web): Node >=20, .nvmrc, Prettier and ESLint fixes - Relax Node requirement from >=22 to >=20 for pre-commit in CI/dev - Add .nvmrc (22) for nvm use - Apply Prettier to page.tsx, tenants pages, globals.css, topology mock - Fix useEffect deps: add initialYamlEditable in tenant-detail-client Made-with: Cursor --------- Co-authored-by: 马登山 <cxymds@qq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.