From 550a7089f448ff5ad387780894a25b0382b27885 Mon Sep 17 00:00:00 2001 From: tytv2 Date: Tue, 7 Jul 2026 11:19:43 +0700 Subject: [PATCH] docs: rebrand "VNG Cloud" to "GreenNode" in VKS and shared text Replace user-facing "VNG Cloud" / "VNG Kubernetes Service" wording with "GreenNode" / "GreenNode Kubernetes Service" in the root command help, vks group help, CLAUDE.md, README, and VKS/config docs. Acronyms (VKS) and all technical identifiers are unchanged: the Go module path (github.com/vngcloud/greennode-cli), API endpoints (*.api.vngcloud.vn, iamapis.vngcloud.vn), the SEC-08 trusted domain (vngcloud.vn), portal URLs, and CODEOWNERS org slugs. vServer wording is left as-is per scope. --- CLAUDE.md | 4 ++-- README.md | 4 ++-- docs/commands/vks/index.md | 2 +- docs/configuration.md | 6 +++--- go/cmd/root.go | 4 ++-- go/cmd/vks/vks.go | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 547187b..9f6308b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,7 +2,7 @@ ## Project overview -GreenNode CLI (`grn`) is a unified command-line tool for managing GreenNode (VNG Cloud) services. Written in Go, distributed as a single binary. VKS (VNG Kubernetes Service) is the first service; other product teams add their own services. +GreenNode CLI (`grn`) is a unified command-line tool for managing GreenNode services. Written in Go, distributed as a single binary. VKS (GreenNode Kubernetes Service) is the first service; other product teams add their own services. - **Repo**: `vngcloud/greennode-cli` - **Docs**: https://vngcloud.github.io/greennode-cli/ @@ -78,7 +78,7 @@ go/ - Commands in `cmd/` following cobra patterns - Use `cobra.Command` with `RunE` for error handling -## VNG Cloud API quirks +## GreenNode API quirks - **IAM API uses camelCase**: `grantType`, `accessToken`, `expiresIn` - **VKS API pagination is 0-based**: page 0 = first page diff --git a/README.md b/README.md index b5e98d7..0ae550a 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ output = json project_id = pro-xxxxxxxx ``` -Credentials are obtained from the [VNG Cloud IAM Portal](https://hcm-3.console.vngcloud.vn/iam/) under Service Accounts. +Credentials are obtained from the [GreenNode IAM Portal](https://hcm-3.console.vngcloud.vn/iam/) under Service Accounts. Credential resolution order: environment variables take priority over the credentials file. @@ -194,7 +194,7 @@ The best way to interact with our team is through GitHub: - [Documentation](https://vngcloud.github.io/greenode-cli/) - [Changelog](CHANGELOG.md) - [Contributing Guide](CONTRIBUTING.md) -- [VNG Cloud Console](https://hcm-3.console.vngcloud.vn/) +- [GreenNode Console](https://hcm-3.console.vngcloud.vn/) ## License diff --git a/docs/commands/vks/index.md b/docs/commands/vks/index.md index 599ad6d..d59f0a5 100644 --- a/docs/commands/vks/index.md +++ b/docs/commands/vks/index.md @@ -1,6 +1,6 @@ # VKS Commands -VKS (VNG Kubernetes Service) commands for managing Kubernetes clusters and node groups. +VKS (GreenNode Kubernetes Service) commands for managing Kubernetes clusters and node groups. ```bash grn vks [options] diff --git a/docs/configuration.md b/docs/configuration.md index 60eea29..11b65c2 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -18,7 +18,7 @@ Fetching project_id from HCM-3... Auto-detected project_id: pro-xxxxxxxx ``` -`Project ID` is the VNG Cloud project UUID for the selected region (e.g. +`Project ID` is the GreenNode project UUID for the selected region (e.g. `pro-e28d4501-...`). Leave blank and the wizard calls the vServer API with your credentials to detect and save it. Each user has one project per region, so the detection is unambiguous. @@ -27,7 +27,7 @@ If auto-detect fails (network or auth error), the wizard prints a warning and leaves the field blank — downstream tools (such as the GreenNode MCP Server) can still auto-detect at first call. -Credentials are obtained from the [VNG Cloud IAM Portal](https://hcm-3.console.vngcloud.vn/iam/) under Service Accounts. +Credentials are obtained from the [GreenNode IAM Portal](https://hcm-3.console.vngcloud.vn/iam/) under Service Accounts. ## Credential resolution order @@ -43,7 +43,7 @@ Credentials are resolved in the following order (highest to lowest priority): | `GRN_ACCESS_KEY_ID` | Client ID (overrides credentials file) | | `GRN_SECRET_ACCESS_KEY` | Client Secret (overrides credentials file) | | `GRN_DEFAULT_REGION` | Default region | -| `GRN_DEFAULT_PROJECT_ID` | Project ID (VNG Cloud project UUID) | +| `GRN_DEFAULT_PROJECT_ID` | Project ID (GreenNode project UUID) | | `GRN_PROFILE` | Profile name (default: "default") | | `GRN_DEFAULT_OUTPUT` | Output format | diff --git a/go/cmd/root.go b/go/cmd/root.go index 739dd79..f7a86cd 100644 --- a/go/cmd/root.go +++ b/go/cmd/root.go @@ -30,14 +30,14 @@ var ( var rootCmd = &cobra.Command{ Use: "grn", - Short: "GreenNode CLI - unified command-line tool for GreenNode (VNG Cloud) services", + Short: "GreenNode CLI - unified command-line tool for GreenNode services", Version: fmt.Sprintf("%s Go/%s %s/%s", cliVersion, runtime.Version()[2:], runtime.GOOS, runtime.GOARCH), // Print a single clean "Error: ..." line on failure (done in Execute) rather // than cobra's error plus a full usage dump. SilenceErrors: true, SilenceUsage: true, Long: `GreenNode CLI (grn) is a unified command-line tool for managing -GreenNode (VNG Cloud) services including VKS (VNG Kubernetes Service). +GreenNode services including VKS (GreenNode Kubernetes Service). To get started, run: grn configure diff --git a/go/cmd/vks/vks.go b/go/cmd/vks/vks.go index 7b56f82..0c1cbf9 100644 --- a/go/cmd/vks/vks.go +++ b/go/cmd/vks/vks.go @@ -8,7 +8,7 @@ import ( // VksCmd is the parent command for all VKS subcommands. var VksCmd = &cobra.Command{ Use: "vks", - Short: "VNG Kubernetes Service (VKS) commands", + Short: "GreenNode Kubernetes Service (VKS) commands", Long: "Manage VKS clusters, node groups, and related resources.", // Reject unknown subcommands (nested groups don't error by default in cobra). Args: cobra.NoArgs,