banzaicloud / pke

PKE is an extremely simple CNCF certified Kubernetes installer and distribution, designed to work on any cloud, VM or bare metal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Audit server log collection support

pepov opened this issue · comments

Is your feature request related to a problem? Please describe.
I would like to be able to collect audit logs using the logging-operator.

Describe the solution you'd like to see
I would like to see the audit log written to a hostpath, because the fluent-bit daemonset could read those logs from there as usual.

Describe alternatives you've considered
We could push the audit logs to a webhook, that would write the logs to stdout, so that it could be collected the usual way but that would be overkill I beleive.

Turns out this is what is happening already when audit log is enabled