Skip to content

Files

Latest commit

4aa3464 · Nov 4, 2021

History

History
31 lines (22 loc) · 573 Bytes

readme.MD

File metadata and controls

31 lines (22 loc) · 573 Bytes

Clone admission demo

git clone https://github.com/cncamp/admission-controller-webhook-demo.git

Deploy webhook

cd admission-controller-webhook-demo/
./deploy.sh

Check webhook status

k get deployment.apps/webhook-server -n webhook-demo
k get po -n webhook-demo

Create demo pod and verify

kubectl create -f examples/pod-with-defaults.yaml
kubectl get po  pod-with-defaults -oyaml
kubectl logs -f pod-with-defaults

More details

https://github.com/cncamp/admission-controller-webhook-demo/blob/main/README.md