Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Unify the code generation tools in our controllers #224

@kieron-dev

Description

@kieron-dev

Our hack script invokes two scripts:

  • vendor/k8s.io/code-generator/generate-groups.sh, which generates
    • the deepcopy functions
    • the versioned client
    • listers
    • informers
  • vendor/sigs.k8s.io/controller-tools/cmd/controller-gen, which generates
    • CRDs

Kubebuilder only uses controller-tools. We should follow that example.

Note: this means adopting the controller-runtime client, as we wouldn't be generating the client originally used in eirini. If that's not possible, we can drop this chore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions