mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
small docs update
This commit is contained in:
parent
355794c303
commit
a892b26bf8
@ -522,9 +522,8 @@ At the moment, you'll have to make a new directory under `pkg/apis/`; copy the
|
|||||||
directory structure from `pkg/apis/extensions`. Add the new group/version to all
|
directory structure from `pkg/apis/extensions`. Add the new group/version to all
|
||||||
of the `hack/{verify,update}-generated-{deep-copy,conversions,swagger}.sh` files
|
of the `hack/{verify,update}-generated-{deep-copy,conversions,swagger}.sh` files
|
||||||
in the appropriate places--it should just require adding your new group/version
|
in the appropriate places--it should just require adding your new group/version
|
||||||
to a bash array. You will also need to make sure your new types are imported by
|
to a bash array. See [docs on adding an API group](adding-an-APIGroup.md) for
|
||||||
the generation commands (`cmd/gendeepcopy/` & `cmd/genconversion`). These
|
more.
|
||||||
instructions may not be complete and will be updated as we gain experience.
|
|
||||||
|
|
||||||
Adding API groups outside of the `pkg/apis/` directory is not currently
|
Adding API groups outside of the `pkg/apis/` directory is not currently
|
||||||
supported, but is clearly desirable. The deep copy & conversion generators need
|
supported, but is clearly desirable. The deep copy & conversion generators need
|
||||||
|
Loading…
Reference in New Issue
Block a user