Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/busser/k8s-webhook-dojo
https://github.com/busser/k8s-webhook-dojo
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/busser/k8s-webhook-dojo
- Owner: busser
- Created: 2021-02-10T17:23:14.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-11T18:00:35.000Z (almost 4 years ago)
- Last Synced: 2023-03-10T18:37:58.070Z (over 1 year ago)
- Language: Go
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kubernetes Webhook
## Setup
```bash
kind create cluster --config=cluster.yaml
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.1.0/cert-manager.yaml
kubectl create namespace apps
kubectl config set-context --current --namespace=apps
``````bash
kubectl apply -f test-app.yaml
```## Deployment
```bash
make docker-build kind-load deploy IMG=padok.fr/webhook:v1.0.0-$(date +%s)
```## Usage
```bash
kubectl label namespace apps padok.fr/inject-tolerations=true
kubectl rollout restart deployment nginx-deployment
```