-
Notifications
You must be signed in to change notification settings - Fork 12
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
CLI-259: Add support for centralized ACLs #295
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4f7b9cc
to
379c58c
Compare
arvindth
commented
Sep 17, 2019
arvindth
commented
Sep 17, 2019
2c570f3
to
124d692
Compare
codyaray
approved these changes
Oct 2, 2019
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.
lgtm
Man I can't wait til we have declarative policies for this stuff. These are some long gnarly commands.
7fba00b
to
6302fc4
Compare
codyaray
approved these changes
Oct 3, 2019
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.
thanks!
retest this please |
5cb6bdd
to
d2f1c8a
Compare
- Also, zsh completion doesn't like braces in the description
- Also wrap centralized acls with temporary feature flag to allow merge to master without breaking 5.3 compatibility. - Label acls command as 5.4+ only - Print out the cluster id on list/delete output - Make new acl subcommand backward compatible to 5.3. - Replace generic 404 error with specific error message
d2f1c8a
to
d296499
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Add support for centralized ACLs for the
confluent
cli tool.Depends on confluentinc/mds-sdk-go#2
Differences between
confluent
andccloud
apis:confluent iam acl ...
whereas existing ccloud acls commands are underccloud kafka acl ...
iam
is to eventually specify the resource using CRN notation (not implemented yet except in Audit logs). At that point, both schema registry and kafka resources would be specified the same way, so the cli usage would be generic and would make more sense to consolidate with other security related commands underiam
.confluent iam acl delete
prints out a list of matching acls that got deleted. ccloud does not.Other design decisions:
confluent iam acl delete --kafka-cluster-id
References
Related PRs: Depends on confluentinc/mds-sdk-go#2
Related JIRA: CLI-259
Test & Review
Added unit tests. Build using
make deps && make build
. Test usingmake test
Run using the following sample commands:
Out of scope