https://github.com/tom-code/makeroom
webhook removing resource requests from pods which are being created
https://github.com/tom-code/makeroom
Last synced: about 2 months ago
JSON representation
webhook removing resource requests from pods which are being created
- Host: GitHub
- URL: https://github.com/tom-code/makeroom
- Owner: tom-code
- Created: 2021-06-06T17:36:45.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-06T17:44:42.000Z (almost 5 years ago)
- Last Synced: 2024-06-19T16:35:17.845Z (over 1 year ago)
- Language: Go
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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