-
Notifications
You must be signed in to change notification settings - Fork 407
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
[ANSIENG-4490] Sample inventories for non RBAC to RBAC migration #1893
Conversation
## You can skip step 1 if you already have a running cluster | ||
## steps to run: | ||
## 1. setup non rbac (mtls) cluster with "ansible-playbook -i <inv.yml> confluent.platform.all" | ||
## 2. Uncomment Section 1 to enable authorization on cluster and run command "ansible-playbook -i <inv.yml> confluent.platform.all --skip-tags package --tags kafka_controller,kafka_broker -e deployment_strategy=rolling" |
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.
when we do this step in rolling fashion some broker would have authorizer and some would not. Does that work fine without downtime ?
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.
is it the case that some brokers which dont have authorizer they allow all actions. the ones which have authorizer they also have allow.everyone.if.no.acl.found: "true" and thus they also allow all actions
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.
yes, because for inter-broker communication we added broker principal in super user and allow.everyone.if.no.acl.found: "true" for other components
ansible_python_interpreter: /usr/bin/python3 | ||
|
||
ssl_enabled: true | ||
ssl_mutual_auth_enabled: true |
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.
This is deprecated in 7.8 itself. so we can define ssl_client_authentication
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, Thanks!
Description
This PR adds sample inventories to enable rbac in cp-ansible. Sample ACL commands are also added.
Fixes # ANSIENG-4490
Type of change
How Has This Been Tested?
tested locally
Checklist: