https://github.com/fl64/pod-mutator
testing operator-sdk for creating mutation webhooks for core objects
https://github.com/fl64/pod-mutator
Last synced: about 2 months ago
JSON representation
testing operator-sdk for creating mutation webhooks for core objects
- Host: GitHub
- URL: https://github.com/fl64/pod-mutator
- Owner: fl64
- Created: 2022-02-05T13:29:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-13T19:58:44.000Z (over 4 years ago)
- Last Synced: 2025-12-26T11:46:45.468Z (5 months ago)
- Language: Go
- Size: 65.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pod-mutator webhook
```shell
operator-sdk init --plugins go/v3 --owner "fl64 "
operator-sdk create api --group=core --version=v1 --kind=Pod --controller=true --resource=false
make
operator-sdk create webhook --group core --version v1 --kind Pod --defaulting
make generate
make docker-build docker-push IMG=fl64/pod-mutator:v0.0.1
make deploy IMG=fl64/pod-mutator:v0.0.1
make undeploy
```