kafka-gitops icon indicating copy to clipboard operation
kafka-gitops copied to clipboard

question about state.yaml file

Open red8rain opened this issue 4 years ago • 1 comments

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

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

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,

red8rain avatar Aug 06 '21 18:08 red8rain

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

devshawn avatar Sep 21 '21 16:09 devshawn