Skip to content
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

fix: use consistent namespace templating #481

Merged
merged 2 commits into from
Jan 25, 2025

Conversation

bwdmr
Copy link
Contributor

@bwdmr bwdmr commented Jan 4, 2025

Replace all instances of .Release.Namespace with include "cloudnative-pg.namespace" helper to ensure consistent namespace handling throughout the chart.

  • Deployment WATCH_NAMESPACE environment variable
  • Webhook service namespace references
  • RBAC subject namespace references
  • Installation notes and examples

This change ensures the chart properly respects namespaceOverride in all components.

Replace all instances of .Release.Namespace with include "cloudnative-pg.namespace" helper to ensure consistent namespace handling throughout the chart.

chart cloudnative-pg:
- Deployment WATCH_NAMESPACE environment variable
- Webhook service namespace references
- RBAC subject namespace references
- Installation notes and examples

chart cluster:
- Job Server Ping namespace reference

This change ensures the chart properly respects namespaceOverride in all components.

Signed-off-by: bwdmr <[email protected]>
@itay-grudev itay-grudev merged commit a40127b into cloudnative-pg:main Jan 25, 2025
5 checks passed
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.

2 participants