Skip to content

docs: stop scripts and docs installing missing or pre-1.0 versions - #479

Merged
guanzhousongmicrosoft merged 4 commits into
documentdb:mainfrom
guanzhousongmicrosoft:developer/1.0-docs-followups
Nov 5, 2026
Merged

guanzhousongmicrosoft merged 4 commits into
documentdb:mainfrom
guanzhousongmicrosoft:developer/1.0-docs-followups

Conversation

@guanzhousongmicrosoft

@guanzhousongmicrosoft guanzhousongmicrosoft commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Part of #481. These first-party scripts and docs still install pre-1.0 or nonexistent versions:

  • The aws-setup, telemetry and deployment-examples scripts pin chart 0.1.0, which doesn't exist, or 0.1.112 from a personal fork. They now install the latest release unless OPERATOR_CHART_VERSION is set, as the README, the EKS guide and aks-setup already do. Release PRs never touch these scripts, so a fixed pin would go stale again.
  • The contrib EKS script tries the classic Helm repo first. That repo still serves 0.2.0, so the script never reaches OCI.
  • telemetry and deployment-examples refuse to install the public chart without a GitHub token. Contrib retries a failed install with credentials, which can't fix anything after the pull and fails with "cannot re-use a name". All of them now install like aws-setup: log in only if credentials are set, then install once.
  • The multi-cloud guide installs 0.0.1-multi-arch. The rest of that guide has separate problems on a Fleet hub, tracked in Multi-cloud guide and playground can't create DocumentDB on a Fleet hub with chart 0.3.0+ #494.
  • The TLS guide sets documentDbVersion="16", which resolves to images that don't exist.
  • The restore examples and LightRAG sample pin 0.110.0, and the sidecar guide uses ghcr.io/microsoft/documentdb/documentdb-local.

#463 makes the same unpinning change in four of these scripts, and those hunks are taken from it verbatim (co-authored). It doesn't cover the telemetry script's fork default, the contrib classic-repo path or deployment-examples.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The telemetry registry target, hub cert-manager prerequisite, and existing-cluster upgrade warning need correction.

3 open issues
What changed in this PR

Updates first-party documentation and deployment examples for operator 1.0.0, continuing the move to OCI-only Helm distribution.

Changes:

  • Refreshes chart versions and removes outdated image overrides.
  • Moves the contrib EKS installer to OCI and documents classic repository retirement.
  • Explains independent operator/database versions and refreshes upgrade guidance.
File Description
test/​e2e/​README.md Aligns documented upgrade defaults.
README.md Notes classic Helm repository retirement.
operator/​src/​scripts/​deployment-examples/​create-cluster.sh Pins chart 1.0.0.
operator/​documentdb-helm-chart/​UNIFIED-VERSION-CONTROL.md Documents independent version tracks.
documentdb-playground/​telemetry/​scripts/​create-cluster.sh Updates chart version.
documentdb-playground/​operator-upgrade-guide/​README.md Refreshes upgrade example versions.
documentdb-playground/​operator-upgrade-guide/​operator-upgrade.sh Updates usage examples.
documentdb-playground/​operator-upgrade-guide/​operator-install.sh Updates installation usage example.
documentdb-playground/​lightrag/​README.md Clarifies engine compatibility.
documentdb-playground/​lightrag/​documentdb.yaml Removes old image pins.
documentdb-playground/​contrib/​telemetry-and-cost-optimized-eks/​scripts/​create-cluster.sh Installs chart 1.0.0 through OCI.
documentdb-playground/​aws-setup/​scripts/​create-cluster.sh Pins chart 1.0.0.
documentdb-playground/​aks-setup/​scripts/​create-cluster.sh Refreshes version-pinning comments.
documentdb-playground/​aks-setup/​README.md Updates documented operator version.
docs/​operator-public-documentation/​preview/​operations/​upgrades.md Adds OCI migration guidance and refreshes examples.
docs/​operator-public-documentation/​preview/​operations/​restore-deleted-cluster.md Updates restore version example.
docs/​operator-public-documentation/​preview/​operations/​backup-and-restore.md Updates backup restoration example.
docs/​operator-public-documentation/​preview/​getting-started/​before-you-start.md Marks older releases superseded.
docs/​developer-guides/​testing-with-fork-images.md Refreshes upstream image examples.
docs/​developer-guides/​sidecar-injector-plugin-configuration.md Uses operator gateway image references.
docs/​developer-guides/​manual-multi-cloud-deployment-guide.md Updates hub installation to chart 1.0.0.

Review effort: Balanced

@guanzhousongmicrosoft
guanzhousongmicrosoft force-pushed the developer/1.0-docs-followups branch from 125a431 to 1f6b9c8 Compare October 19, 2026 13:23
@guanzhousongmicrosoft guanzhousongmicrosoft changed the title docs: point docs, playground and scripts at operator 1.0.0 docs: point scripts and docs at operator 1.0.0 Oct 19, 2026
@guanzhousongmicrosoft
guanzhousongmicrosoft force-pushed the developer/1.0-docs-followups branch 3 times, most recently from 37fc46b to c3fe5ea Compare October 19, 2026 15:39
@guanzhousongmicrosoft
guanzhousongmicrosoft force-pushed the developer/1.0-docs-followups branch from c3fe5ea to 94dd9cb Compare November 4, 2026 21:17
@guanzhousongmicrosoft guanzhousongmicrosoft changed the title docs: point scripts and docs at operator 1.0.0 docs: point scripts and docs at operator 1.1.0 Nov 4, 2026
@documentdb-triage-tool documentdb-triage-tool Bot added documentation Improvements or additions to documentation ecosystem enhancement New feature or request labels Nov 4, 2026
@documentdb-triage-tool

Copy link
Copy Markdown

🤖 Auto-triaged by documentdb-triage-tool.

Applied: ecosystem, documentation, enhancement
Project fields suggested: Component playground · Priority P1 · Effort L · Status Needs Review
Confidence: 0.85 (mixed)

Reasoning

component from path globs (playground, docs); effort from diff stats (30+43 LOC, 12 files); LLM: Updates multiple scripts and documentation files to point at the correct, existing operator 1.1.0 release, fixing broken installs caused by pinned non-existent or outdated versions across several guides and contrib scripts.

If a label is wrong, remove it manually and ping @patty-chow so the rules can be tuned. The bot will not re-label items that already have component labels.

@guanzhousongmicrosoft guanzhousongmicrosoft changed the title docs: point scripts and docs at operator 1.1.0 docs: stop scripts and docs installing missing or pre-1.0 versions Nov 4, 2026
guanzhousongmicrosoft and others added 4 commits November 4, 2026 16:48
Release PRs never touch these scripts, so any pin goes stale at the next
release. The README, the EKS guide and aks-setup already install unpinned;
OPERATOR_CHART_VERSION still pins. The script changes are taken from documentdb#463.

Co-authored-by: Rayhan Hossain <[email protected]>
Signed-off-by: Guanzhou Song <[email protected]>
A Fleet Manager hub runs no pods, so a full install never becomes ready and
its fail-closed webhook would reject the operator chart's Issuer and
Certificate. multi-cloud-deployment/deploy.sh installs only the CRDs too.

Signed-off-by: Guanzhou Song <[email protected]>
…oken

telemetry and deployment-examples refused to install unless a GitHub token
was set, and contrib retried a failed install with credentials, which can't
fix a failure after the chart is pulled and hits "cannot re-use a name". All
three now match aws-setup: log in only when credentials are set, install
once, and show the error.

The sidecar guide and LightRAG sample now say where the default image comes
from instead of naming a version nothing bumps.

Signed-off-by: Guanzhou Song <[email protected]>
@guanzhousongmicrosoft
guanzhousongmicrosoft force-pushed the developer/1.0-docs-followups branch from 3ed12aa to 6b240b4 Compare November 4, 2026 21:48
@guanzhousongmicrosoft
guanzhousongmicrosoft merged commit 763780d into documentdb:main Nov 5, 2026
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation ecosystem enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants