https://github.com/trstringer/kubernetes-validating-webhook
Example showing how to implement a basic Kubernetes validating webhook
https://github.com/trstringer/kubernetes-validating-webhook
Last synced: 10 months ago
JSON representation
Example showing how to implement a basic Kubernetes validating webhook
- Host: GitHub
- URL: https://github.com/trstringer/kubernetes-validating-webhook
- Owner: trstringer
- License: apache-2.0
- Created: 2021-11-20T14:25:45.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-20T14:26:02.000Z (about 4 years ago)
- Last Synced: 2024-10-11T15:11:23.645Z (over 1 year ago)
- Language: Go
- Size: 30.3 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kubernetes Validating Webhook example
This shows a basic implementation of a validating 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
```