Open amiraroshan opened 5 years ago
Did you notice this bit of the post:
make sure to cut and paste that into the caBundle field of hook.yaml
This is referring to moving the generated output from the docker file to the Kubernetes resource yamls before applying them (or you can reapply)
I followed the instruction (copied & pasted rootCA.crt in hook.yaml). After creating the test deployment, the POD test is not created. The error in the apiserver pod’s log indicates an invalid certificate (certificate signed by unknown authority). As a result K8s apiserver fails to create the POD ‘test’ (expected failurePolicy: Fail).