Use Slack's Kubernetes Webhook Project

Slack’s engineering team open-sourced their Golang simple Kubernetes webhook project.

Like the Slack engineering team, I’ve found the other examples of Golang webhooks too heavy for my tastes. They often used frameworks for creating a Kubernetes operator when a simple JSON service that responds to HTTP requests would suffice.

This project has implemented examples of injecting env vars, adding a minimum pod lifespan label, and name validation.

I’ve spent the past few days working on an internal fork of their project to create a mutating webhook.

Read their blog post here to learn more.


Like what you've read?

If you're an engineering leader or developer, you should subscribe to my 80/20 DevOps Newsletter. Give me 1 minute of your day, and I'll teach you essential DevOps skills. I cover topics like Kubernetes, AWS, Infrastructure as Code, and more.

Not sure yet? Check out the archive.

Unsubscribe at any time.