Use Windows Subsystem for Linux (Ubuntu)
-
Install go v1.17 from here
-
Install make
apt install make
- Install the kubernetes code generator (from outside the rusi project folder):
go get k8s.io/code-generator@v0.22.2
sudo chmod 777 ~/go/pkg/mod/k8s.io/code-generator@v0.22.2/generate-groups.sh
Go to rusi folder (repository root) and run the following make task:
make generate-crd