https://github.com/trstringer/kubernetes-mutating-webhook
Example showing how to implement a basic mutating webhook
https://github.com/trstringer/kubernetes-mutating-webhook
Last synced: 4 months ago
JSON representation
Example showing how to implement a basic mutating webhook
- Host: GitHub
- URL: https://github.com/trstringer/kubernetes-mutating-webhook
- Owner: trstringer
- License: apache-2.0
- Created: 2021-11-14T18:19:53.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-14T21:09:26.000Z (about 4 years ago)
- Last Synced: 2025-05-07T10:34:15.033Z (9 months ago)
- Language: Go
- Size: 30.3 KB
- Stars: 17
- Watchers: 1
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kubernetes Mutating Webhook example
This shows a basic implementation of a mutating webhook.
## Setup
*Note: This relies on TLS certificates to function correctly. Soon that will be added to this repo for a full end-to-end working example.*
This example utilizes a local kind cluster.
```bash
$ make build
$ make build-image-kind
$ make push-kind
$ make deploy
```
## Cleanup
```bash
$ make cleanup
```