From 882fa5dd16ecced362242c94e932752bc63846d0 Mon Sep 17 00:00:00 2001 From: Jim Weber Date: Sun, 10 Dec 2017 23:20:14 -0500 Subject: [PATCH] Fixed paths in entrypoint.sh The paths in the copy commands for cfg dir and kube-bench binary were not pointing to where those actually lived in the container. --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 4ccd821..797990f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,8 +1,8 @@ #!/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/ + yes | cp -rf ./cfg/* /host/cfg/ + yes | cp -rf ./kube-bench /host/ echo "===============================================" echo "kube-bench is now installed on your host " echo "Run ./kube-bench to perform a security check "