-
Notifications
You must be signed in to change notification settings - Fork 15
K8SPG-760 Fixed the description if the WATCH_NAMESPACE env var #356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 2.0
Are you sure you want to change the base?
Conversation
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
There was a problem hiding this 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_NAMESPACEbehavior - 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.
| | 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. | |
Copilot
AI
Feb 12, 2026
There was a problem hiding this comment.
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.
docs/env-var-operator.md
Outdated
| * 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) |
Copilot
AI
Feb 12, 2026
There was a problem hiding this comment.
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.
| 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). |
Co-authored-by: Copilot <[email protected]>
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