Files
k3s/pkg
Siegfried Weber 2b2f3182db Sign CSRs for kubelet-serving with the server CA
Problem:
Only the client CA is passed to the kube-controller-manager and
therefore CSRs with the signer name "kubernetes.io/kubelet-serving" are
signed with the client CA. Serving certificates must be signed with the
server CA otherwise e.g. "kubectl logs" fails with the error message
"x509: certificate signed by unknown authority".

Solution:
Instead of providing only one CA via the kube-controller-manager
parameter "--cluster-signing-cert-file", the corresponding CA for every
signer is set with the parameters
"--cluster-signing-kube-apiserver-client-cert-file",
"--cluster-signing-kubelet-client-cert-file",
"--cluster-signing-kubelet-serving-cert-file", and
"--cluster-signing-legacy-unknown-cert-file".

Signed-off-by: Siegfried Weber <mail@siegfriedweber.net>
(cherry picked from commit e77fd18270)
2021-07-08 16:53:40 -07:00
..
2019-10-30 19:08:26 -07:00
2019-06-30 09:30:25 -07:00
2021-06-29 11:33:15 -07:00
2020-10-06 10:29:27 -07:00
2020-08-28 17:18:31 -07:00
2020-12-08 22:51:34 -08:00
2020-02-23 00:48:26 -08:00
2020-07-09 11:20:06 -07:00