Files
Abhay Krishna 47170e87f6 fix(kubeadmconfig): pass CIS 4.2.12 on the kubelet (#2552)
kube-bench's CIS 4.2.12 check compares the kubelet's tlsCipherSuites
with an allowlist that spells the two ChaCha20 suites without their
_SHA256 suffix. Every node therefore warned on suites the check means
to allow, and the exception register carried an entry for it.

Name the two suites the way the check does. The kubelet parses its
configured list with k8s.io/component-base/cli/flag, which maps both
spellings to the same suite, so it accepts exactly the suites it did.
A new test parses the list that way to hold that, and checks the names
against kube-bench v0.17.0's 4.2.12 allowlist. The API server's list
keeps the _SHA256 names, which its own check, 1.2.29, accepts.

With every node passing, the 4.2.12 register entry goes.

Signed-off-by: Abhay Krishna Arunachalam <abhaykrishna@nvidia.com>
2026-12-01 16:35:46 -08:00
..