Automating storage backups with Kyverno sidecars

In my homelab, I&rsquo;ve been using Longhorn as my primary Kubernetes storage solution. It&rsquo;s fantastic for high-availability block storage, but I still wanted a way to keep my data synchronized with my central NAS for long-term backups and to make it easier to recover from total cluster failures. Initially, I was manually adding a pair of initContainers as sidecars to every single service…