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.


Master GitHub Actions with a Senior Infrastructure Engineer

As a senior staff infrastructure engineer, I share exclusive, behind-the-scenes insights that you won't find anywhere else. Get the strategies and techniques I've used to save companies $500k in CI costs and transform teams with GitOps best practices—delivered straight to your inbox.

Not sure yet? Check out the archive.

Unsubscribe at any time.