rancher / cis-operator

Apache License 2.0
46 stars 28 forks source link

Automate the provisioning of kubectl in security-scan based on the server's k8s version #310

Open andypitcher opened 3 months ago

andypitcher commented 3 months ago

Context: With Rancher Manager version support ranging from k8s 1.23 to 1.31, we can't rely on a uniq kubectl version when building and running the security-scan. Since one kubectl can only cover up to three k8s versions. See kubectl version skew policy.

To do: Alternative 1:

Alternative 2: Develop a Go script to do the following: