-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
docs(acls): describes handling of special users #11118
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: prmellor <pmellor@redhat.com>
== Super user access to Kafka brokers | ||
|
||
If a user is added to a list of super users in a Kafka broker configuration, | ||
the user is allowed unlimited access to the cluster regardless of any authorization constraints defined in ACLs in `KafkaUser`. | ||
|
||
For more information on configuring super user access to brokers, see xref:con-securing-kafka-authorization-{context}[Kafka authorization]. |
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.
Do we have this covered somewhere else?
|
||
The User Operator manages ACLs for standard Kafka users but cannot define rules for special usernames such as `User:ANONYMOUS` or `User:*`. | ||
These users are ignored because their names are not valid Kubernetes resource names. | ||
If ACL rules with special usernames are present in a `KafkaUser` resource, the User Operator logs a message for information but does not apply them. |
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.
These users cannot have any KafkaUser
resources. So this is not valid. The part about logging should be part of the next sentence.
If ACL rules with special usernames are present in a `KafkaUser` resource, the User Operator logs a message for information but does not apply them. |
These users are ignored because their names are not valid Kubernetes resource names. | ||
If ACL rules with special usernames are present in a `KafkaUser` resource, the User Operator logs a message for information but does not apply them. | ||
You can manually configure ACL rules for these usernames using tools like `kafka-acls.sh`. | ||
These manual configurations are not deleted by the User Operator. |
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.
These manual configurations are not deleted by the User Operator. | |
When these manual configurations are present in Kafka, the User Operator logs a message for information but does not delete them. |
Documentation
Describes handling of special users by User Operator.
Extracts Defining ACLs concepts into higher-level section within client authorization content to make the content easier to find.
Checklist
Please go through this checklist and make sure all applicable tasks have been done