kudobuilder/kuttl

CRD generation isn't working

kumar-mallikarjuna opened this issue · 1 comments

What happened:
CRD generation isn't working. On running make generate, the CRDs aren't being generated the target directory.

What you expected to happen:
CRDs should be regenerated.

How to reproduce it (as minimally and precisely as possible):

  1. Run
➜  kuttl git:(main) ✗ make generate
/bin/bash: ./bin/golangci-lint: No such file or directory
controller-gen crd paths=./pkg/apis/... output:crd:dir=config/crds output:stdout
./hack/update_codegen.sh
Using cached code generator version: v0.30.2
Generating deepcopy code for 1 targets
  1. Observe if CRDs are regenerated under crds/ or config/crds.

Anything else we need to know?:

We should also verify in CI if the CRDs are in sync, to prevent them from getting stale again.

Environment:

  • Kubernetes version (use kubectl version):
  • KUTTL version (use kubectl kuttl version):
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

Noticed the bug label isn't being auto-assigned to Bugs. Raised a fix: #542.