k8s-webhook
k8s-webhook copied to clipboard
Companion code for a DJ Tech blog post https://medium.com/dowjones/how-did-that-sidecar-get-there-4dcd73f1a0a4
k8s-webhook
cd dockerdocker build . -t localserver- Cut and Paste the root CA from the docker build output
Step 12/13 : RUN cat rootCA.crt | base64 | tr -d '\n'and replace the value currently in https://github.com/dowjones/k8s-webhook/blob/master/k8s/hook.yaml#L14 cd ../k8skubectl create -f deployment.yamlkubectl create -f service.yamlkubectl create -f hook.yamlkubectl create -f test.yaml