Closed
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