cloudydeno / deno-kubernetes_client

Typescript library for accessing a Kubernetes API server
https://deno.land/x/kubernetes_client
Apache License 2.0
18 stars 4 forks source link

Support server-side apply with `KubectlRawRestClient` #12

Open danopia opened 1 year ago

danopia commented 1 year ago

Server-side apply is stable nowadays, and available with kubectl apply --server-side --field-manager=.... Given that our relevant codepath is for kubectl patch and comes from HTTP PATCH verbs, it might be interesting to see how these pieces want to fit together.

https://github.com/cloudydeno/deno-kubernetes_client/blob/1a1fa6048390940a5cefbf0ee6da20cd47f4b9d0/transports/via-kubectl-raw.ts#L173-L174