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

PubSub editor role required to use notifications #1235

Open
jonblack opened this issue Nov 16, 2023 · 0 comments
Open

PubSub editor role required to use notifications #1235

jonblack opened this issue Nov 16, 2023 · 0 comments

Comments

@jonblack
Copy link

jonblack commented Nov 16, 2023

When PubSub notifications are enabled and the registry-events topic already exists in the given project, the registry server fails to startup with the following error:

FATAL[0001] Failed to create registry server error=rpc error: code = PermissionDenied desc = User not authorized to perform this action.

Due to organizational rules, it's not possible to give the service account the required roles/pubsub.editor role (the topic is created via internal tooling).

This line tries to create the topic and will fail gracefully if it already exists. I'm assuming that due to lack of permissions, it bails out instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Inbox
Development

No branches or pull requests

1 participant