Skip to content

CRD generation isn't working #541

@kumar-mallikarjuna

Description

@kumar-mallikarjuna

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions