An open API service indexing awesome lists of open source software.

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

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
```