kubernetes-webhook-examples

command module
v0.0.0-...-08a95cc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2021 License: MIT Imports: 12 Imported by: 0

README

Kubernetes Webhook Examples

Go & Java ftw!

Deploy a Java and a Golang application which serve validating webhooks for Thing custom resources.

Get started:

# create certificates et al.
go run certs.go 
# create a cluster
kind create cluster --config kind-config.yaml
# continuously deploy and watch logs
skaffold dev --cleanup=false

Test:

# create a `Thing` and see both applications validating it
cat <<EOF | kubectl apply -f -
apiVersion: mamachanko.com/v1alpha1
kind: Thing
metadata:
  name: test
EOF

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL