metal-stack / gardener-extension-audit

A Gardener extension that provides audit forwarding to different backends
MIT License
1 stars 2 forks source link

Disabling auditing leaves the buffer pvcs behind #22

Open mreiger opened 3 months ago

mreiger commented 3 months ago

When disabling cluster auditing for a shoot, the pvcs for the audit webhook backend's buffer stay behind.

It would be better to also delete these when clearing up the statefulset.

(Side effect: If you turn auditing off because the backend could not empty its buffer, the alarm that there's an overfull pvc does not disappear until you manually delete the pvc. This is annoying.)