Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 500 Bytes

GenerateCRD.md

File metadata and controls

21 lines (17 loc) · 500 Bytes

Prerequisites

Use Windows Subsystem for Linux (Ubuntu)

  1. Install go v1.17 from here

  2. Install make

apt install make
  1. 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

Generate client

Go to rusi folder (repository root) and run the following make task:

make generate-crd