mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #25312 from cjcullen/newtypedocs
Automatic merge from submit-queue Update adding-an-APIGroup.md for #23110 Change the doc to point at the new conversion/deep-copy binaries instead of the old scripts.
This commit is contained in:
commit
03d64c6aa4
@ -75,9 +75,7 @@ cmd/libs/go2idl/ tool.
|
||||
1. Generate conversions and deep-copies:
|
||||
|
||||
1. Add your "group/" or "group/version" into
|
||||
hack/after-build/{update-generated-conversions.sh,
|
||||
update-generated-deep-copies.sh, verify-generated-conversions.sh,
|
||||
verify-generated-deep-copies.sh};
|
||||
cmd/libs/go2idl/{conversion-gen, deep-copy-gen}/main.go;
|
||||
2. Make sure your pkg/apis/`<group>`/`<version>` directory has a doc.go file
|
||||
with the comment `// +genconversion=true`, to catch the attention of our
|
||||
gen-conversion script.
|
||||
|
Loading…
Reference in New Issue
Block a user