CRD generation isn't working
kumar-mallikarjuna opened this issue · 1 comments
kumar-mallikarjuna commented
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):
- 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
- Observe if CRDs are regenerated under
crds/
orconfig/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:
kumar-mallikarjuna commented
Noticed the bug
label isn't being auto-assigned to Bugs. Raised a fix: #542.