-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.Categorizes an issue or PR as relevant to SIG API Machinery.
Description
Creating a new API group is really hard. I'll keep this description up to date as I go through the pain.
- You have to know to add yourself to the
import_known_versions.go
files in multiple packages to get included. - You have to manually update these files to get the generated output:
hack/after-build/update-generated-conversions.sh
hack/after-build/update-generated-deep-copies.sh
hack/after-build/verify-generated-conversions.sh
hack/after-build/verify-generated-deep-copies.sh
hack/update-generated-swagger-docs.sh
- You have to manually create
types.generated.go
in every internal and external package to get codec-gen to work. - You have to update
pkg/api/registered/registered.go
to be allowed to install your group.
That's just to get your types registered. Right now, there's no pluggable way to include custom RESTStorage
into the API server for my new types.
@caesarxuchao @lavalamp @liggitt @smarterclayton
@kubernetes/rh-cluster-infra @kubernetes/goog-csi
Metadata
Metadata
Assignees
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.Categorizes an issue or PR as relevant to SIG API Machinery.