-
Notifications
You must be signed in to change notification settings - Fork 39.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doc API group suffix, add test to catch new groups #32315
Conversation
5316c0c
to
fd1b4d3
Compare
fd1b4d3
to
a94493d
Compare
cc @kubernetes/sig-api-machinery @lavalamp @bgrant0607 @thockin |
a94493d
to
527f033
Compare
@@ -80,7 +80,7 @@ expected to be programmatically convertible to the name of the resource using | |||
the following conversion. Kinds are expected to be of the form | |||
`<CamelCaseKind>`, and the `APIVersion` for the object is expected to be | |||
`<api-group>/<api-version>`. To prevent collisions, it's expected that you'll | |||
use a fully qualified domain name for the API group, e.g. `example.com`. | |||
use a DNS name of at least three segments for the API group, e.g. `stable.example.com`. | |||
|
|||
For example `stable.example.com/v1` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe stable is a bad example now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to "mygroup.example.com"... better suggestions welcome
527f033
to
620cc66
Compare
GCE e2e build/test passed for commit 620cc66. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit 620cc66. |
Automatic merge from submit-queue |
Automatic merge from submit-queue Doc API group suffix, add test to catch new groups Spawned from discussion in kubernetes#31887 Doc and add tests to ensure new API groups are suffixed. Also changed the doc to reference an API group containing the suffix as a starting point for new API groups.
Spawned from discussion in #31887
Doc and add tests to ensure new API groups are suffixed.
Also changed the doc to reference an API group containing the suffix as a starting point for new API groups.
This change is