Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 392 Bytes

File metadata and controls

11 lines (8 loc) · 392 Bytes

admission-webhooks-example

Injects organization and project labels with MutatingWebhook and validates that there is no change on these labels with ValidatingWebhook.

Use ngrok for the ease of development.

  • dep ensure
  • ngrok http 8080
  • Replace the ngrok url in the resource files with yours.
  • kubectl apply -f .
  • go build && go run *.go