Skip to content

Admission Mutation Proxy (txn2/amp) implementation example project.

License

Notifications You must be signed in to change notification settings

txn2/amp-wh-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Admission Mutation Proxy (txn2/amp) implementation example project.

Example Webhook implementation for the Admission Mutation Proxy (amp).

https://github.com/txn2/amp

Install

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

Development

Release

goreleaser --skip-publish --rm-dist --skip-validate
GITHUB_TOKEN=$GITHUB_TOKEN goreleaser --rm-dist

About

Admission Mutation Proxy (txn2/amp) implementation example project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published