Expose Kubernetes OpenAPI extensions as attributes on members
See original GitHub issueTo properly patch resources (like a kubectl apply
), it is necessary to know how the fields (especially lists) in the resources are intended to be merged. This is exposed as OpenAPI extensions in x-kubernetes-patch-strategy
and x-kubernetes-patch-merge-key
.
- https://github.com/kubernetes/kubernetes/blob/8f4ab6fe7635983443ebef7fde5b9c8861bef5bb/api/openapi-spec/README.md#x-kubernetes-patch-strategy-and-x-kubernetes-patch-merge-key
- https://github.com/kubernetes/community/blob/72e931e1142ce47634f974cd12dae2ebf34b4472/contributors/devel/strategic-merge-patch.md
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Extend the Kubernetes API with CustomResourceDefinitions
This page shows how to install a custom resource into the Kubernetes API by creating a CustomResourceDefinition. Before you begin You need ...
Read more >The Kubernetes API
The API server exposes an HTTP API that lets end users, different parts of your cluster, and external components communicate with one ...
Read more >Controlling Access to the Kubernetes API
Kubernetes authorization requires that you use common REST attributes to interact with existing organization-wide or cloud-provider-wide access ...
Read more >Custom Resources
Custom resources are extensions of the Kubernetes API. This page discusses when to add a custom resource to your Kubernetes cluster and when...
Read more >Kubernetes API Concepts
The Kubernetes API is a resource-based (RESTful) programmatic interface provided via HTTP. It supports retrieving, creating, updating, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah this gives all I need!
I think we’ve dealt with this one but I can’t be sure - when you have a moment can you check if the API does what you want now?