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

[branch-2.11][fix][cpp] Fix the standalone set up #18907

Conversation

BewareMyPower
Copy link
Contributor

Motivation

#15186 changed the behavior of how to create the default namespace. However, it brings a regression that even if the built-in admin didn't have the authentication configured while the standalone enabled the authentication, the namespace could still be created successfully. This PR also changed the deploy script to remove the creation of "public/default" namespace. Instead, it grants the permission to this namespace directly.

After #17864 and #18837, the namespace will be created by the built-in admin again. But the deploy script would fail.

Modifications

Create the default namespace via pulsar-admin in the deploy script.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository: BewareMyPower#13

### Motivation

apache#15186 changed the behavior of how
to create the default namespace. However, it brings a regression that
even if the built-in admin didn't have the authentication configured
while the standalone enabled the authentication, the namespace could
still be created successfully. This PR also changed the deploy script to
remove the creation of "public/default" namespace. Instead, it grants
the permission to this namespace directly.

After apache#17864 and
apache#18837, the namespace will be
created by the built-in admin again. But the deploy script would fail.

### Modifications

Create the default namespace via `pulsar-admin` in the deploy script.
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Dec 13, 2022
@BewareMyPower
Copy link
Contributor Author

This PR might be replaced by another PR, see https://lists.apache.org/thread/vz3tqpgs5l1r0trq29r4hdf85t0rjc8j

@BewareMyPower
Copy link
Contributor Author

Close this PR by #18909

@BewareMyPower BewareMyPower deleted the bewaremypower/2.11-fix-cpp branch December 13, 2022 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-not-needed Your PR changes do not impact docs release/2.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant