mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 11:12:03 +00:00
Merge pull request #63598 from nikhita/subresources-to-beta
Automatic merge from submit-queue (batch tested with PRs 63598, 63913, 63459, 63963, 60464). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. apiextensions: promote CustomResourcesSubresources to beta Fixes #62786 This PR promotes the CustomResourcesSubResources feature to beta and makes it enabled by default. **Release note**: ```release-note Subresources for custom resources is now beta and enabled by default. With this, updates to the `/status` subresource will disallow updates to all fields other than `.status` (not just `.spec` and `.metadata` as before). Also, `required` can be used at the root of the CRD OpenAPI validation schema when the `/status` subresource is enabled. ``` /assign sttts deads2k /sig api-machinery /area custom-resources
This commit is contained in:
2
api/openapi-spec/swagger.json
generated
2
api/openapi-spec/swagger.json
generated
@@ -84961,7 +84961,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"subresources": {
|
||||
"description": "Subresources describes the subresources for CustomResources This field is alpha-level and should only be sent to servers that enable subresources via the CustomResourceSubresources feature gate.",
|
||||
"description": "Subresources describes the subresources for CustomResources",
|
||||
"$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceSubresources"
|
||||
},
|
||||
"validation": {
|
||||
|
Reference in New Issue
Block a user