Rancher CIS Benchmark
Let's see how to run Rancher CIS Benchmark in a Kubernetes cluster.
Configuration
We'll use the official Helm chart:
Deployment
bash
# adds Helm chart repository
helm repo add rancher-charts https://charts.rancher.io
helm repo update
# installs
helm upgrade --install rancher-cis-benchmark rancher-charts/rancher-cis-benchmark --namespace cis-operator-system --create-namespace
# uninstalls
helm uninstall rancher-cis-benchmark -n cis-operator-system
kubectl delete ns cis-operator-system