Skip to content

K8s: use spec.upgradeSpec.autoUpgradeRedisEnterprise in upgrade docs - #4232

Open
SatvikMishra08 wants to merge 1 commit into
redis:mainfrom
SatvikMishra08:k8s-upgradespec-autoupgrade
Open

SatvikMishra08 wants to merge 1 commit into
redis:mainfrom
SatvikMishra08:k8s-upgradespec-autoupgrade

Conversation

@SatvikMishra08

@SatvikMishra08 SatvikMishra08 commented Oct 8, 2026 •

Copy link
Copy Markdown

Fixes #4224.

autoUpgradeRedisEnterprise isn't a top-level REC field. The REC API reference lists it under spec.upgradeSpec, so setting autoUpgradeRedisEnterprise: true directly in the REC spec, as the upgrade pages say, doesn't match the CRD.

This updates the current (unversioned) Kubernetes pages to use the full path spec.upgradeSpec.autoUpgradeRedisEnterprise wherever they tell the reader to set the field:

  • upgrade/upgrade-olm.md, upgrade/upgrade-redis-cluster.md, upgrade/openshift-cli.md: the "To trigger automatic upgrade of the REC..." sentence and the "set ... to false before upgrading the operator" notes
  • upgrade/upgrade-redis-cluster.md: the kubectl get rec ... -o jsonpath check, which read {.spec.autoUpgradeRedisEnterprise} and so would always print nothing
  • re-databases/modules.md: the user-defined modules upgrade step

Sentences that only mention the field by name are unchanged, and I left the versioned archive folders alone.


Note

Low Risk
Documentation-only alignment with the REC API; no runtime or code changes.

Overview
Documentation fix: Kubernetes upgrade and modules docs previously told readers to set autoUpgradeRedisEnterprise at the top level of the REC spec, which does not match the CRD (spec.upgradeSpec).

The PR replaces those instructions with spec.upgradeSpec.autoUpgradeRedisEnterprise across unversioned pages: upgrade-redis-cluster.md, upgrade-olm.md, openshift-cli.md, and re-databases/modules.md. That covers prerequisites, operator upgrade warnings, automatic REC upgrade guidance, digest-hash troubleshooting, and the user-defined modules upgrade step.

It also fixes the troubleshooting kubectl jsonpath from {.spec.autoUpgradeRedisEnterprise} to {.spec.upgradeSpec.autoUpgradeRedisEnterprise} so the check returns the real value instead of empty output.

Reviewed by Cursor Bugbot for commit 2b2570b. Bugbot is set up for automated code reviews on this repo. Configure here.

@CLAassistant

CLAassistant commented Oct 8, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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.

REC config details on Redis Operator upgrade page(s) are invalid

2 participants