kafka-gitops
kafka-gitops copied to clipboard
is it possible to specify multiple operations related to a single resource for acts
when needed to specify entries for a service account but operations on same topic/group/resource, there is repetition. could it be possible to add operations in a single entry:
customServiceAcls:
dev_mgmt-test:
d-cg-thg:
name: test.hello-group
type: GROUP
pattern: LITERAL
host: "*"
operation: DESCRIBE,DESCRIBE_CONFIGS,READ
permission: ALLOW
I agree, this would make state file less verbose. And it would be closer to what kafka-acl tool can do in a single run. But it would make plan computation harder I guess.
This was a stylistic choice we made when building the tool -- for custom ACLs, we wanted each ACL explicitly defined so there was less "black magic" happening since you are defining actual ACLs, not an abstraction like a service.
However, I can see the benefit in allowing something like multiple operations.