Skip to content

This is a Kubernetes validating webhook written in Python using Flask.

Notifications You must be signed in to change notification settings

k-mitevski/kubernetes-validating-webhook

Repository files navigation

Kubernetes Validating Webhook

This is a Kubernetes validating webhook written in Python using Flask.

I've written a blog post, and if you like you can read more on the whole setup here.

It works by intercepting Deployment creation, if there isn't a required label set, the request will be rejected.

The required label is set through environment variable in the webhook deployment file.

env:
- name: LABEL
  value: development

webhook-image

About

This is a Kubernetes validating webhook written in Python using Flask.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published