To test your controllers, you will need to use the tarballs containing the required binaries:
./bin/k8s/
└── 1.25.0-darwin-amd64
├── etcd
├── kube-apiserver
└── kubectl
These tarballs are released by controller-tools,
and you can find the list of available versions at: envtest-releases.yaml.
When you run make envtest
or make test
, the necessary tarballs are downloaded and properly
configured for your project.