CertificateSiginingRequest
is created. The req is then review and approve using kubectl
. The cert is then shared with users
openssl genrsa -out jane.key 2048
openssl req -new -key jane.key -subj "CN=KUBERNETES-CA" -out jane.csr
jane.csr
must first be base64
encoded before putting in the manifestkubectl certificate approve jane
kubectl get csr jane -o yaml
(under{.status.certificate}) base64 encoded 00> share w user[!Important] Controller Manager is the component taking care of these certificate api
- CSR approving/ signing, etc.
kube-controller-manager
’s manifest must have root’s cert and key