Skip to content

webhook removing resource requests from pods which are being created

Notifications You must be signed in to change notification settings

tom-code/makeroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

makeroom

k8s mutating webhook removing resource requests from pods which are being created intended for test environments

caBundle in deploy.yaml is base64 encoded cert.pem

server/hook certificate dn must be makeroom.default.svc (if you keep service name and default namespace)

git clone
go run github.com/tom-code/makeroom/keygen
go build github.com/tom-code/makeroom
docker build . -t hook.com/makeroom:1
#edit deploy.yaml - correct caBundle

note: keygen creates tls certificates and keys. it also displays base64 encoded caBundle which shall be added to deploy.yaml

About

webhook removing resource requests from pods which are being created

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published