Skip to content

docs(mongodb): scope Percona MongoDB guide to tested ACP versions; fix PRIVATE_REGISTRY overwrite - #855

Open
SuJinpei wants to merge 2 commits into
mainfrom
docs/mongodb-guide-acp-version-scope
Open

SuJinpei wants to merge 2 commits into
mainfrom
docs/mongodb-guide-acp-version-scope

Conversation

@SuJinpei

@SuJinpei SuJinpei commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Two fixes to the Percona MongoDB Operator guide (KB260400014), applied in both en and zh.

1. Scope the guide to the ACP versions actually tested

The guide says it applies to ACP 4.x. It has only been tested on two ACP versions:

ACP / K8s Scope tested
4.2 / 1.33 Everything in "Verified by Alauda"
4.4 / 1.35 Baseline deployment only (#850): mirror, namespace-scoped bundle.yaml install, sharded MongoDB 8.0.19-7 reaching ready, Step 6 access check
4.0 / 4.1 / 4.3 Not tested
  • Front matter: ProductsVersion: 4.x becomes '4.2,4.4'. The quoted comma form is already used elsewhere in this repo.
  • Prerequisites: "ACP 4.x cluster" becomes "ACP 4.2 or 4.4", noting that other 4.x releases are untested.
  • Verified versions line: says 4.2 was fully verified and 4.4 covered the baseline only.
  • Verified by Alauda table: adds ACP 4.2 / ACP 4.4 columns. Failover, backup/restore, TLS, upgrade, PVC resize and scaling now say "Not tested" for 4.4. Before, a reader of the table could assume they were verified there.

2. Stop overwriting PRIVATE_REGISTRY after Prerequisites exports it

Prerequisites exports PRIVATE_REGISTRY (host[:port]/project). The guide then re-assigned it in four places: Step 1 Option A, Option B, the ACP Harbor section, and Step 4. Two of them set it to the literal placeholder "<your-private-registry>". Pasting Step 4 as written made the sed rewrite operator images to <your-private-registry>/percona/....

  • Assignments removed: no block outside Prerequisites assigns PRIVATE_REGISTRY any more. Each block that uses it starts with a ${PRIVATE_REGISTRY:?...} guard.
  • REGISTRY_SERVER derived: it is now computed as "${PRIVATE_REGISTRY%%/*}" (the host only) instead of being set separately, so the two values can't disagree.
  • Step 2 credentials kept: REG_USER / REG_PASS now keep the values the Step 1 Harbor section already set. Before, the block overwrote them with placeholders while the prose said "you already have these set".

The new shell lines were checked in bash. The host comes out as acp.example.com:45443 from acp.example.com:45443/middleware, values that are already set are kept, and an unset PRIVATE_REGISTRY produces the error.

zh sourceSHA is bumped to the sha256 of the new en file.

🤖 Generated with Claude Code

…ly tested

The guide claimed ACP 4.x, but it has only been tested on ACP 4.2 (fully)
and ACP 4.4 (baseline deployment only, #850). ACP 4.0, 4.1 and 4.3 were
never tested.

- ProductsVersion: 4.x -> '4.2,4.4'
- Prerequisites: "ACP 4.x cluster" -> "ACP 4.2 or 4.4", untested 4.x noted
- Verified versions line states the 4.4 scope and links to the table
- Verified by Alauda table gets ACP 4.2 / ACP 4.4 columns so the 4.4
  claim cannot be read as covering failover, backup, TLS, upgrade,
  resize or scaling

Same changes in en and zh; zh sourceSHA bumped to the new en file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… exports it

Prerequisites exports PRIVATE_REGISTRY (host[:port]/project), but Step 1
(Option A, Option B, ACP Harbor) and Step 4 re-assigned it to a placeholder
or rebuilt it. A reader who pasted those blocks verbatim overwrote the
real value with a literal "<your-private-registry>", and Step 4's sed then
rewrote operator images to that string.

- Remove every PRIVATE_REGISTRY assignment outside Prerequisites; each
  block that uses it starts with a ${PRIVATE_REGISTRY:?...} guard
- Derive REGISTRY_SERVER as "${PRIVATE_REGISTRY%%/*}" (host only) instead
  of asking for it separately, so the two can no longer disagree
- Step 2: REG_USER / REG_PASS keep values already set by the Step 1 Harbor
  section instead of overwriting them with placeholders; prose updated
- Step 1 registryAddress hint now points at PRIVATE_REGISTRY

Same changes in en and zh; zh sourceSHA bumped to the new en file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@SuJinpei SuJinpei changed the title docs(mongodb): scope Percona MongoDB guide to the ACP versions actually tested docs(mongodb): scope Percona MongoDB guide to tested ACP versions; fix PRIVATE_REGISTRY overwrite Oct 14, 2026

This branch was successfully deployed

1 active deployment
translate — 0194aacf Deployed Oct 14, 2026 by SuJinpei via build #2734
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant