Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRD generation isn't working #541

Open
kumar-mallikarjuna opened this issue Jul 3, 2024 · 1 comment
Open

CRD generation isn't working #541

kumar-mallikarjuna opened this issue Jul 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kumar-mallikarjuna
Copy link
Contributor

kumar-mallikarjuna commented Jul 3, 2024

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:
@kumar-mallikarjuna
Copy link
Contributor Author

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

@porridge porridge added the bug Something isn't working label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants