Skip to content
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

Can users/ACL be managed by the operator #451

Open
dberardo-com opened this issue Nov 9, 2022 · 5 comments
Open

Can users/ACL be managed by the operator #451

dberardo-com opened this issue Nov 9, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@dberardo-com
Copy link

if so, then which params of the CRD should be set ?

@dberardo-com dberardo-com added the enhancement New feature or request label Nov 9, 2022
@Rory-Z
Copy link
Member

Rory-Z commented Nov 10, 2022

Are you using EMQX 5 or EMQX 4 ?

@dberardo-com
Copy link
Author

5.0.9

@Rory-Z
Copy link
Member

Rory-Z commented Nov 10, 2022

In EMQX 5, all user/ACLs can be configured via emqx.conf, and in EMQX CR, you can populate with the contents of .spec.bootstrapConfig

@dberardo-com
Copy link
Author

dberardo-com commented Nov 10, 2022

i see, ok, i was actually meaning something like EMQXAclUser and creating users/acl as CRD instead of having to edit the "core" EMQX file defining the emqx cluster and its config. Fair enough though i will have a look at the config documentation you linked: https://www.emqx.io/docs/en/v5.0/admin/cfg.html

I had experience with mosquitto and SQL based ACLs. Is it a thing in EMQX as well? could ACL be read in from a HA postgres cluster? or are config files the only option?


EDIT

yes it seems to be possible: https://www.emqx.io/docs/en/v5.0/admin/cfg.html#authz-postgresql

so now the question would be, perhaps if ACL is postgres based, then i might have to look for some CRD that controls insertion of entries in postgres tables as a "proxy" for users/ACL in EMQX. i can post the results of my research here then.

@Rory-Z
Copy link
Member

Rory-Z commented Nov 10, 2022

so now the question would be, perhaps if ACL is postgres based, then i might have to look for some CRD that controls insertion of entries in postgres tables as a "proxy" for users/ACL in EMQX. i can post the results of my research here then.

So cool, I'm looking forward

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants