Skip to content

Commit

Permalink
Added kubesec to node setup
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsvap committed Jan 8, 2021
1 parent 2d39c39 commit 36e1831
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion 00-cluster-prep/setup_node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,19 @@ apt-get install -y etcd-client vim build-essential
### install kube-bench
curl -L https://github.com/aquasecurity/kube-bench/releases/download/v0.3.1/kube-bench_0.3.1_linux_amd64.deb -o /tmp/kube-bench_0.3.1_linux_amd64.deb
sudo apt install /tmp/kube-bench_0.3.1_linux_amd64.deb -f
rm -rf /tmp/kube-bench_0.3.1_linux_amd64.deb
rm -rf /tmp/kube-bench*

### install falco
curl -s https://falco.org/repo/falcosecurity-3672BA8F.asc | apt-key add -
echo "deb https://dl.bintray.com/falcosecurity/deb stable main" | tee -a /etc/apt/sources.list.d/falcosecurity.list

### install kubesec

curl -L https://github.com/controlplaneio/kubesec/releases/download/v2.8.0/kubesec_linux_386.tar.gz -o /tmp/kubesec_linux_386.tar.gz
tar -xvf /tmp/kubesec_linux_386.tar.gz -C /tmp/kubesec/
cp /tmp/kubesec/kubesec /usr/bin/kubesec
rm -rf /tmp/kubesec*

apt-get update -y
apt-get -y install linux-headers-$(uname -r)
apt-get install -y falco
Expand Down

0 comments on commit 36e1831

Please sign in to comment.