Skip to content

dixneuf19/k8s-webhook-dojo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes Webhook

Setup

kind create cluster --config=cluster.yaml
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.1.0/cert-manager.yaml
kubectl create namespace apps
kubectl config set-context --current --namespace=apps
kubectl apply -f test-app.yaml

Deployment

make docker-build kind-load deploy IMG=padok.fr/webhook:v1.0.0-$(date +%s)

Usage

kubectl label namespace apps padok.fr/inject-tolerations=true
kubectl rollout restart deployment nginx-deployment

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 76.7%
  • Makefile 14.0%
  • Dockerfile 9.3%