Skip to content

grzesuav/admission-controler-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Example of kubernetes admission controller

Run

Execute :

  • kubectl apply -f manifests/01-namespace.yaml
  • kubectl --namespace='' apply -f https://github.com/jetstack/cert-manager/releases/download/v0.9.0/cert-manager.yaml
  • kubectl apply -f manifests/cert-manager-certificates.yaml
  • cd controller and docker built -t admission:test .
  • load image to minikube/kind
  • kubectl apply -f manifests/admission-service.yaml
  • kubectl apply -f manifests/admission-configuration.yaml
  • kubectl apply -f manifests/admission-configuration.yaml

And now test:

  • kubectl apply -f manifests/99-test-namespace.yaml

About

Example of kubernetes admission controller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published