Skip to content

metalstormbass/mike-admission-controller

Repository files navigation

mike-admission-controller

This is the code to a simple admission controller that looks to see if a container is deployed with the tag "latest" and reject it.

Usage

Build the container

./generate_certs.sh
docker build . -t michaelbraunbass/mike-admission-controller:main
docker push michaelbraunbass/mike-admission-controller:main

Deploy to Kubernete:

kubectl apply -f kubernetes/deploy-mike-admission-controller.yaml

Register the webhook:

kubectl apply -f kubernetes/register-webhook.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published