Skip to content

Conversation

@sircthulhu
Copy link
Collaborator

@sircthulhu sircthulhu commented Jan 23, 2026

See cozystack/cozystack#1896

Summary by CodeRabbit

  • Documentation
    • Updated installation and getting-started documentation for Cozystack deployments and cloud provider guides to reflect configuration changes. Removed the isolated option from configuration patch examples across multiple setup instructions while retaining ingress, monitoring, and etcd settings as configuration requirements.

✏️ Tip: You can customize this high-level summary in your review settings.

@netlify
Copy link

netlify bot commented Jan 23, 2026

Deploy Preview for cozystack ready!

Name Link
🔨 Latest commit 3ad5668
🔍 Latest deploy log https://app.netlify.com/projects/cozystack/deploys/6973657df87ec90008668fac
😎 Deploy Preview https://deploy-preview-404--cozystack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @sircthulhu, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on streamlining the Tenant configuration by eliminating the isolated field, which was previously responsible for enforcing network policies within tenant namespaces. The changes ensure that all relevant documentation and installation examples are updated to reflect this removal, leading to a more concise and simplified tenant setup process.

Highlights

  • Field Removal: The isolated field has been removed from the Tenant configuration, simplifying the definition of tenant properties.
  • Documentation Update: The content/en/docs/applications/tenant.md file has been updated to reflect the removal of the isolated field from the list of available tenant parameters.
  • Installation Examples: Example kubectl patch commands in the Cozystack installation guide (content/en/docs/install/cozystack/_index.md) and the Hetzner provider guide (content/en/docs/install/providers/hetzner.md) have been updated to remove the isolated: true setting.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 23, 2026

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

📝 Walkthrough

Walkthrough

Three installation documentation files were updated to remove the "isolated": true configuration option from JSON patch payloads in their code examples, streamlining the tenant configuration specifications.

Changes

Cohort / File(s) Summary
Installation docs - isolated option removal
content/en/docs/install/cozystack/_index.md, content/en/docs/install/providers/hetzner.md, content/en/docs/getting-started/install-cozystack.md
Removed "isolated": true from JSON patch configurations in code examples, leaving only "ingress", "monitoring", and "etcd" options for tenant patching.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A simpler config, cleaner and bright,
No "isolated" to weigh down the night,
Just ingress, monitoring, etcd in place,
Documentation streamlined with grace! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: removing the isolated field from Tenant references across documentation files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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 and usage tips.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

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 removes the isolated field from the Tenant documentation. The changes are consistent and correctly applied across the documentation files. I've also pointed out a recurring issue in the documentation where multi-line kubectl patch commands are not valid for copy-pasting and suggested formatting them as single-line commands to improve user experience. Overall, the main goal of the PR is achieved, and with the suggested improvements, the documentation quality will be enhanced.

"monitoring": true,
"etcd": true,
"isolated": true
"etcd": true
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

While this line is correct, the overall kubectl patch command block (lines 549-554) is not a valid shell command if copy-pasted, because the single-quoted string is split across multiple lines without continuation characters. This could lead to errors for users. To improve the documentation, consider formatting the JSON payload as a single line. For example: kubectl patch ... -p '{"spec":{"ingress":true,"monitoring":true,"etcd":true}}'.

"monitoring": true,
"etcd": true,
"isolated": true
"etcd": true
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

While this line is correct, the overall kubectl patch command block (lines 427-432) is not a valid shell command if copy-pasted, because the single-quoted string is split across multiple lines without continuation characters. This could lead to errors for users. To improve the documentation, consider formatting the JSON payload as a single line. For example: kubectl patch ... -p '{"spec":{"ingress":true,"monitoring":true,"etcd":true}}'.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
content/en/docs/install/cozystack/_index.md (1)

549-554: Documentation incomplete—deprecated isolated field remains in multiple files.

While the patch configuration in this file was correctly updated, verification found that the isolated field has not been removed from all documentation references. The following files still contain "isolated": true:

  • content/en/docs/getting-started/install-cozystack.md (line 522)
  • content/en/docs/getting-started/create-tenant.md (line 109)
  • content/en/docs/operations/stretched/seaweedfs-multidc.md (lines 36, 80)

These examples need to be updated for consistency to reflect the API changes and avoid misleading users with outdated configuration patterns.

@nbykov0
Copy link
Collaborator

nbykov0 commented Jan 23, 2026

Please also fix ./docs/getting-started/install-cozystack.md

@sircthulhu sircthulhu force-pushed the remove-tenant-field-isolated branch from 680b2a1 to a99fa00 Compare January 23, 2026 12:10
See cozystack/cozystack#1896

Signed-off-by: Kirill Ilin <stitch14@yandex.ru>
@sircthulhu sircthulhu force-pushed the remove-tenant-field-isolated branch from a99fa00 to 3ad5668 Compare January 23, 2026 12:11
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@content/en/docs/getting-started/install-cozystack.md`:
- Around line 518-522: Update the create-tenant documentation to remove all
references to the removed tenant field "isolated": delete or reword the sentence
that explains "The `isolated` option determines whether sibling tenants can
communicate over the network" and remove the `isolated: true` entry from the
YAML example so the prose and example match the updated behavior shown in the
kubectl patch; search for the string "isolated" in
content/en/docs/getting-started/create-tenant.md and remove or replace mentions,
ensuring the YAML sample remains valid after deletion.

Comment on lines 518 to 522
kubectl patch -n tenant-root tenants.apps.cozystack.io root --type=merge -p '
{"spec":{
"monitoring": true,
"etcd": true,
"isolated": true
"etcd": true
}}'
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

# First, read the specific lines from the file to verify the snippet
cat -n content/en/docs/getting-started/install-cozystack.md | sed -n '510,530p'

Repository: cozystack/website

Length of output: 603


🏁 Script executed:

# Search for all references to "isolated" in markdown documentation files
rg -n -C2 'isolated' --type=md content/

Repository: cozystack/website

Length of output: 15157


🏁 Script executed:

# Also check if there are related changes in other documentation files
rg -n '"etcd":\s*true' --type=md content/

Repository: cozystack/website

Length of output: 259


Update create-tenant.md as well—it still documents the isolated field that was removed.

While the kubectl patch command in lines 518-522 correctly excludes the isolated field, the documentation in content/en/docs/getting-started/create-tenant.md still references it as an active, configurable option:

  • Line 74 explains: "The isolated option determines whether sibling tenants can communicate over the network"
  • Line 109 includes it in a YAML example: isolated: true

These references contradict the PR objective to remove isolated support. Update create-tenant.md to remove mentions of the isolated field from both the prose explanation and the YAML example to ensure consistency across all documentation.

🤖 Prompt for AI Agents
In `@content/en/docs/getting-started/install-cozystack.md` around lines 518 - 522,
Update the create-tenant documentation to remove all references to the removed
tenant field "isolated": delete or reword the sentence that explains "The
`isolated` option determines whether sibling tenants can communicate over the
network" and remove the `isolated: true` entry from the YAML example so the
prose and example match the updated behavior shown in the kubectl patch; search
for the string "isolated" in content/en/docs/getting-started/create-tenant.md
and remove or replace mentions, ensuring the YAML sample remains valid after
deletion.

@nbykov0 nbykov0 merged commit b1f2586 into main Jan 23, 2026
6 checks passed
@nbykov0 nbykov0 deleted the remove-tenant-field-isolated branch January 23, 2026 16:19
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.

3 participants