rancher / cis-operator

Apache License 2.0
46 stars 28 forks source link

Add /var/lib/cni hostPath and remove rke2 prefix in hostPath names #339

Closed andypitcher closed 1 month ago

andypitcher commented 1 month ago

This PR contains the following:

  1. Adds /var/lib/cni hostPath in pkg/securityscan/core/templates/pluginConfig.template to support kube-bench checks that rely on /var/lib/cni path.
  2. Removes the rke2 prefix in hostPath names since the plugin is generic to all k8s distributions.