-
Notifications
You must be signed in to change notification settings - Fork 354
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
Add list acls endpoint for the new programmatic API #896
Conversation
v1alpha1.ACL_RESOURCE_TYPE_GROUP: fmt.Sprintf("%vgroup", resourceNamePrefix), | ||
v1alpha1.ACL_RESOURCE_TYPE_TOPIC: fmt.Sprintf("%vtopic", resourceNamePrefix), | ||
v1alpha1.ACL_RESOURCE_TYPE_TRANSACTIONAL_ID: fmt.Sprintf("%vtransactional-id", resourceNamePrefix), | ||
v1alpha1.ACL_RESOURCE_TYPE_CLUSTER: "kafka-cluster", |
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.
Minor nit or check, but this key doesn't seem to be used? Should it be used somewhere? or removed?
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.
Nvm we iterate over the map.
repeated Policy acls = 4; | ||
} | ||
|
||
repeated Resource resources = 1; | ||
} | ||
|
||
message CreateACLRequest { |
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.
Should we add some buf validation annotations to the requests?
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 CreateACL and DeleteACL Request is still to be implemented. It's only there because of the requested OpenAPI spec
Draft PR for adding the ListACLs endpoint.
An integration test is missing before this PR can be un-drafted.