mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-12-01 20:38:09 +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
|
#!/bin/sh
|
||||||
if [ -d /host ]; then
|
if [ -d /host ]; then
|
||||||
mkdir -p /host/cfg/
|
mkdir -p /host/cfg/
|
||||||
yes | cp -rf ./kube-bench/cfg/* /host/cfg/
|
yes | cp -rf ./cfg/* /host/cfg/
|
||||||
yes | cp -rf ./kube-bench/kube-bench /host/
|
yes | cp -rf ./kube-bench /host/
|
||||||
echo "==============================================="
|
echo "==============================================="
|
||||||
echo "kube-bench is now installed on your host "
|
echo "kube-bench is now installed on your host "
|
||||||
echo "Run ./kube-bench to perform a security check "
|
echo "Run ./kube-bench to perform a security check "
|
||||||
|
Loading…
Reference in New Issue
Block a user