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

K8SPSMDB-930 - psmdb-operator - Fix watchNamespace #296

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

tplavcic
Copy link
Member

@tplavcic tplavcic commented Mar 5, 2024

If we specify watchNamespace with multiple namespaces separated with commas namespace creation will fail (because it will try to create namespace aaa, bbb) so now we do it in a loop for each specified namespace and only if createNamespace is set to true.

Default is now being changed to not create a namespace unless enabled.

@tplavcic tplavcic force-pushed the k8spsmdb-930-namespace branch from 3e11f24 to 7356255 Compare March 5, 2024 15:24
@tplavcic tplavcic requested a review from spron-in March 5, 2024 15:33
@tplavcic tplavcic added the psmdb label Mar 5, 2024
@tplavcic tplavcic force-pushed the k8spsmdb-930-namespace branch from 7356255 to d4ccd8a Compare March 6, 2024 09:13
@tplavcic tplavcic marked this pull request as ready for review March 8, 2024 08:31
@spron-in
Copy link
Collaborator

fixes #292

@tplavcic tplavcic merged commit e8fd87c into main Mar 11, 2024
2 checks passed
@tplavcic tplavcic deleted the k8spsmdb-930-namespace branch March 11, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants