mirror of
https://github.com/dsx-ai-factory/nvke.git
synced 2026-12-07 04:35:58 +08:00
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>