You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kfk acls --add --allow-principal User:secure-writer --operation Write --topic secure-topic -c my-cluster -n secure-ns
Hitting return key I get a message
kafkauser.kafka.strimzi.io/secure-writer configured.
But when I describe the user using kfk users --describe --user secure-writer -n secure-ns -c my-cluster I don't see anything for Authorization added in the Spec portion of the User.
Similarly if I list the acls using kfk acls --list -n secure-ns -c my-cluster I don't see any entry for the secure-topic or for secure-writer.
The text was updated successfully, but these errors were encountered:
arpan57
changed the title
Unable to add ACLs using kfk acls
Unable to add ACLs using kfk acls --add but works with kfk users --alter --add-acl
Jul 28, 2021
arpan57
changed the title
Unable to add ACLs using kfk acls --add but works with kfk users --alter --add-acl
Unable to add ACLs using kfk acls --add but with kfk users --alter --add-acl
Jul 28, 2021
I think this is because we dont set authorization type while running kfk acls --add --allow-principal User:secure-writer --operation Write --topic secure-topic -c my-cluster -n secure-ns.
That should do it automatically. The following is an already open issue for this: #33
Hi,
I am trying to add an ACL like following
kfk acls --add --allow-principal User:secure-writer --operation Write --topic secure-topic -c my-cluster -n secure-ns
Hitting return key I get a message
kafkauser.kafka.strimzi.io/secure-writer configured.
But when I describe the user using
kfk users --describe --user secure-writer -n secure-ns -c my-cluster
I don't see anything for Authorization added in the Spec portion of the User.Similarly if I list the acls using
kfk acls --list -n secure-ns -c my-cluster
I don't see any entry for the secure-topic or for secure-writer.Now I am trying to add ACLs using the kfk users
kfk users --user secure-writer --alter --authorization-type simple --add-acl --operation Write --resource-type topic --resource-name secure-topic -c my-cluster -n secure-ns
This works.
I can see the ACLs got updated for the user. I can see it updated under kfk user --describe as well as in kfk acls --list also.
Am I missing any parameters while creating the ACLs using kfk acls? or it's a bug?
Versions
Strimzi CLI 0.1.0a57
Strimzi 0.20.1
Kubectl v1.16.15
Regards,
Arpan
The text was updated successfully, but these errors were encountered: