1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-11-22 16:18:07 +00:00

Fixed typo in entrypoint.sh (#86)

The entrypoint.sh had a typo where it tried coping files from "/kube-bench" instead of just "/".
This commit is contained in:
jerbia 2018-01-15 00:59:27 +02:00 committed by GitHub
parent e7152265eb
commit cbe02e1d5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 "