devshawn / kafka-gitops

🚀Manage Apache Kafka topics and generate ACLs through a desired state file.
https://devshawn.github.io/kafka-gitops
Apache License 2.0
317 stars 71 forks source link

question about state.yaml file #75

Open red8rain opened 3 years ago

red8rain commented 3 years ago

In my state.yaml file, i have the following:

settings: files: topics: topics.yaml services: services.yaml users: users.yaml topics: blacklist: prefixed:

I have the topics.yaml, services.yaml and users.yaml files in the same location as the state.yaml file. When I run the validate and plan command, it is ignoring the users.yaml file and attempting to delete all my ACLs. If i put the users: hive under the settings: in the state.yaml file, it recognize all the ACLs. am i doing something wrong with the users.yaml file?

using the lastest kafka-gitops binary. below is the content of my users.yaml file:

users: scramadmin: principal: User:scramadmin

customUserAcls: scramadmin: admin-topic: name: "" type: TOPIC pattern: LITERAL host: "" operation: ALL permission: ALLOW

thanks,

devshawn commented 3 years ago

Hmm, this could be a bug, I will have to do some testing.