Skip to content

Conversation

@nastena1606
Copy link
Collaborator

Added documentation on env vars in the Operator and how to define them

modified: docs/cluster-wide.md
new file: docs/env-var-cluster.md
new file: docs/env-var-operator.md
new file: docs/env-vars.md
modified: mkdocs-base.yml

scription if the WATCH_NAMESPACE env var
dquote>
dquote> Added documentation on env vars in the Operator and how to define them

modified:   docs/cluster-wide.md
        new file:   docs/env-var-cluster.md
        new file:   docs/env-var-operator.md
        new file:   docs/env-vars.md
        modified:   mkdocs-base.yml
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds new documentation pages describing how to define environment variables for the Operator and for cluster components, and updates the cluster-wide deployment docs accordingly.

Changes:

  • Added new docs pages for env var overview and configuration (Operator + cluster components)
  • Updated cluster-wide deployment docs to clarify WATCH_NAMESPACE behavior
  • Updated MkDocs navigation to include the new documentation section

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
mkdocs-base.yml Adds nav entries for the new environment variable documentation pages
docs/env-vars.md Introduces an overview page describing env var types and use cases
docs/env-var-operator.md Documents Operator env vars and how to update them
docs/env-var-cluster.md Documents where to define env vars for cluster components in the CR
docs/cluster-wide.md Clarifies WATCH_NAMESPACE behavior and links to the new env var docs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +10 to +13
| Type | Use cases |
| ------------------------------------- | --------- |
| Operator environment variables | * Control logging for debugging and log aggregation <br> * Manage telemetry <br> * Configure which namespaces the Operator watches (single-namespace vs cluster-wide) <br> * Set the number of concurrent reconciliation workers for multi-cluster environments <br> * Enable feature gates such as auto-growable volumes |
| Cluster component environment variables | * Customize PostgreSQL, pgBackRest, or pgBouncer behavior <br> * Pass configuration or secrets into Pods <br> * Integrate with external systems or monitoring. |
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

The Markdown table uses || at the start of each row, which typically renders as an extra empty column (or breaks table formatting). Use a single leading | for each row to produce a standard 2-column table.

Copilot uses AI. Check for mistakes.
* If set to an empty String "", the operator watches all the namespaces of the kubernetes cluster(cluster-wide mode).

In Cluster-wide mode,operator should be associated with appropriate ClusterRole.
Read more about deployment methods here (./2.1.6.1_namespace_modes.md)
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

This is not a valid Markdown link (it’s just a parenthesized path). Convert it to a proper Markdown link, and prefer the MkDocs-relative doc path (consistent with how other pages are linked) so it renders and navigates correctly.

Suggested change
Read more about deployment methods here (./2.1.6.1_namespace_modes.md)
Read more about deployment methods [here](2.1.6.1_namespace_modes.md).

Copilot uses AI. Check for mistakes.
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