Example Webhook implementation for the Admission Mutation Proxy (amp).
git clone git@github.com:txn2/amp-wh-example.git
cd amp-wh-example
# amp webhook handler
kubectl apply -f ./k8s/000-deployment-exampe-webhook.yml
# namespace with amp.txn2.com/enabled: "true"
kubectl apply -f ./k8s/100-namespace-amp-test.yml
# pod to be mutated
kubectl apply -f ./k8s/200-pod-mutate-test.yml
goreleaser --skip-publish --rm-dist --skip-validate
GITHUB_TOKEN=$GITHUB_TOKEN goreleaser --rm-dist