mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-11-22 08:08:07 +00:00
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.
This commit is contained in:
parent
94b960cfad
commit
882fa5dd16
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user