Skip to content
Snippets Groups Projects
Select Git revision
  • e69ccba8c7711484ec8b4912d51a49b3f44fdaac
  • main default protected
  • dependabot/github_actions/actions/checkout-5
  • lihiz_preflight
  • release/prepare-v0.10.7
  • dependabot/github_actions/golangci/golangci-lint-action-7
  • release/prepare-v0.9.1
  • gh-pages
  • aquadev
  • v0.11.2
  • v0.11.1
  • v0.11.0
  • v0.10.7
  • v0.10.6
  • v0.10.5
  • v0.10.4
  • v0.10.3
  • v0.10.2
  • v0.10.1
  • v0.10.0
  • v0.9.4
  • v0.9.3
  • v0.9.2
  • v0.9.1
  • v0.9.0
  • v0.8.0
  • v0.7.3
  • v0.7.2
  • v0.7.1
29 results

entrypoint.sh

Blame
  • entrypoint.sh 468 B
    #!/bin/sh
    if [ -d /host ]; then
      mkdir -p /host/cfg/
      yes | cp -rf ./kube-bench/cfg/* /host/cfg/
      yes | cp -rf ./kube-bench/kube-bench /host/
      echo "==============================================="
      echo "kube-bench is now installed on your host       "
      echo "Run ./kube-bench to perform a security check   "
      echo "==============================================="
    else
      echo "Usage:"
      echo "  docker run --rm -v \`pwd\`:/host aquasec/kube-bench"
      exit 
    fi