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

best practice for deal with audit related config #37

Open
terryzwt opened this issue Nov 19, 2021 · 3 comments
Open

best practice for deal with audit related config #37

terryzwt opened this issue Nov 19, 2021 · 3 comments

Comments

@terryzwt
Copy link

Hi,
Thanks for this great docker image, in our use case, we want to enable server_audit plugin, and setup custom config for audit config, such as server_audit_events, server_audit_incl_users, what is the best practice to do this task?

As I know, the my.cnf are generated by gotpl, and there is optional way to include custom config.

Thanks for help.

@csandanov
Copy link
Member

you can load the plugin via $MARIADB_PLUGIN_LOAD, as for the configuration - feel free to submit a PR for extra options

@terryzwt
Copy link
Author

hi @csandanov
PR is here, please review:)
#38

@csandanov
Copy link
Member

That's not what I meant, you can always mount go template file for your own custom config. I meant that you can add optional server_audit configuration options that will be configured via env vars as the others

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

No branches or pull requests

2 participants