.featureGates.RotateKubeletServerCertificate dropped from kubelet config in k8s 1.28 #3506
Labels
area/settings
Issues related to our settings handling
status/needs-info
Further information is requested
type/support
User support related issues.
Image I'm using:
bottlerocket-aws-k8s-1.28-x86_64-v1.15.0-c9af43ad
What I expected to happen:
I am benchmarking against CIS guidelines using kube-bench
Test 3.2.11 starts to fail when I upgrade to k8s 1.28.
This control is checking for the presence of
.featureGates.RotateKubeletServerCertificate
in the kubelet config.What actually happened:
Images for kubernetes 1.27 and below included the following in
packages/kubernetes-1.x/kubelet-config
This seems to have been removed from the kubernetes-1.28 package without any comment or information in the relevant commit bf9e579
I want to understand if this was an intentional change?
There seems to be some test code here https://github.com/bottlerocket-os/bottlerocket/blob/develop/sources/bloodhound/README.md that should run this check... but I can't tell if it is run as part of the build process ...
How to reproduce the problem:
Run kube-bench against a bottlerocket - k8s 1.28 image.
The text was updated successfully, but these errors were encountered: