Skip to content

docs(operations): correct the cozy-default backup override path, add backupStorage to the platform values table#621

Closed
Andrey Kolkov (androndo) wants to merge 1 commit into
feat/backup-default-classfrom
docs/3245-backupstorage-override
Closed

docs(operations): correct the cozy-default backup override path, add backupStorage to the platform values table#621
Andrey Kolkov (androndo) wants to merge 1 commit into
feat/backup-default-classfrom
docs/3245-backupstorage-override

Conversation

@androndo

Copy link
Copy Markdown
Contributor

What this PR does

Docs follow-up for cozystack/cozystack#3245, fixed by cozystack/cozystack#3333.

The admin-override example on the Backup Classes page (added by #547) documents a path the cozystack operator silently ignores: spec.components.backupstrategy-controller.values on the Package cozystack.cozystack-platform — that PackageSource exposes only the platform component. cozystack/cozystack#3333 wires the working path: spec.components.platform.values.backupStorage, which the platform chart forwards into the backupstrategy-controller component.

Changes (both in content/en/docs/next/ only):

  • operations/services/backup-classes.md — the override example now uses components.platform.values.backupStorage, with a paragraph explaining the forwarding and calling out the two plausible-looking paths that do not work (the old documented one, and patching the child Package cozystack.backupstrategy-controller directly, which the platform helm-reconcile reverts). Mirrors the upstream docs/operations/backup-classes.md update in fix(platform): forward backupStorage overrides to the backupstrategy-controller Package cozystack#3333.
  • operations/configuration/platform-package.md — the hand-written spec.components.platform.values.* reference table gains the new backupStorage key.

Merge ordering

…backupStorage to the platform values table

The admin-override example on the Backup Classes page told admins to set
spec.components.backupstrategy-controller.values on the
cozystack.cozystack-platform Package, a path the cozystack operator
silently ignores (cozystack/cozystack#3245): that PackageSource exposes
only the platform component. cozystack/cozystack#3333 wires the working
path — spec.components.platform.values.backupStorage — which the
platform chart forwards into the backupstrategy-controller component.

Update the example to the working path, explain the forwarding, call
out the two plausible-looking paths that do not work, and add the new
backupStorage key to the platform-package values reference table.

Only the next/ copy is touched: the v1.4 copy stays as-is until the
cozystack fix is backported, since no working override path exists on
released versions yet.

Assisted-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Andrey Kolkov <androndo@gmail.com>
@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e7276363-0ba2-4578-9894-5631baf57cef

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/3245-backupstorage-override

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the documentation for configuring backup storage in Cozystack. It documents the backupStorage block under the platform package and corrects the override instructions in the backup classes documentation to target the platform component instead of backupstrategy-controller. The review feedback suggests capitalizing "Cozystack" when referring to the operator to maintain consistency with the rest of the documentation.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

- cozy-velero
```

The platform chart forwards this block into the child `Package cozystack.backupstrategy-controller` as component values, from where the cozystack operator merges it into the `backupstrategy-controller` HelmRelease over the chart defaults. Two paths that look plausible do **not** work: `spec.components.backupstrategy-controller` on the `cozystack.cozystack-platform` Package is silently ignored (the only component under that PackageSource is `platform`), and patching the child `Package cozystack.backupstrategy-controller` directly is reverted whenever the platform helm-reconcile re-renders it.

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.

medium

For consistency with the rest of the documentation, "Cozystack" should be capitalized when referring to the operator (i.e., "Cozystack operator" instead of "cozystack operator").

@androndo

Copy link
Copy Markdown
Contributor Author

Superseded by #622, which combines this fix with #547 on a main-based branch and extends it to the v1.4 docs as well.

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