kubernetes-controllers-and-operators

command module
v0.0.0-...-1b41ce3 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: MIT Imports: 11 Imported by: 0

README

kubernetes-controllers-and-operators

Digging deeper into admit_funcs.go ...

kind create cluster --name admission-control --config kind/kindv1.19.1.yaml
mkdir -p certs
cd certs
minica -domains mifomm.validation.svc
cd ..
docker build -t mifomm/webhook . && docker push mifomm/webhook
kubectl apply -f YAML/namespace.yaml
kubectl create secret tls mifomm-tls-certs --key="./certs/mifomm.validation.svc/key.pem" --cert="./certs/mifomm.validation.svc/cert.pem" -n validation
kubectl apply -f YAML/deployment/
CA=`cat ./certs/minica.pem | base64 | tr -d '\n'`
cat YAML/webhook.yaml | sed "s/      caBundle: .*/      caBundle: ${CA}/" | kubectl -n validation apply -f -
kubectl -n validation logs -f -l app=validation-webhook
kubectl apply -f samples/enforce-pod-annotations/unannotated-deployment.yaml

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
app
pkg
app

Jump to

Keyboard shortcuts

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