Commit 84892993 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #24372 from bprashanth/apigroup

Automatic merge from submit-queue Clarify api-group docs by a tiny bit. I realize this area is in flux and the doc is out of date, but it's strictly better with this update than without?
parents b1aabc79 98070fcc
...@@ -56,7 +56,8 @@ Step 2 and 3 are mechanical, we plan on autogenerate these using the cmd/libs/go ...@@ -56,7 +56,8 @@ Step 2 and 3 are mechanical, we plan on autogenerate these using the cmd/libs/go
1. Generate conversions and deep-copies: 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}; 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};
2. Run hack/update-generated-conversions.sh, hack/update-generated-deep-copies.sh. 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.
3. Run hack/update-all.sh.
2. Generate files for Ugorji codec: 2. Generate files for Ugorji codec:
...@@ -79,6 +80,7 @@ We are overhauling pkg/client, so this section might be outdated; see [#15730](h ...@@ -79,6 +80,7 @@ We are overhauling pkg/client, so this section might be outdated; see [#15730](h
2. Add your "group/version" to `KUBE_API_VERSIONS` and `KUBE_TEST_API_VERSIONS` in hack/test-go.sh. 2. Add your "group/version" to `KUBE_API_VERSIONS` and `KUBE_TEST_API_VERSIONS` in hack/test-go.sh.
TODO: Add a troubleshooting section.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment