Sample code to create Kubernetes Mutating Webhook written in Go
This mini-project started from the need to inject an annotation into a Kubernetes deployment. In this specific case, I needed to inject the Reloader annotation into a Telegraf deployment. The code can be used to take inspiration on how to write a Mutating Webhook in Go.