ericchiang / k8s

A simple Kubernetes Go client
Apache License 2.0
599 stars 108 forks source link

experiment for using server-side-apply WIP #124

Closed sbunce closed 4 years ago

sbunce commented 4 years ago

THIS IS NOT FULLY WORKING

The error is, "couldn't apply resource: couldn't apply resource: kubernetes api: Failure 400 Incorrect version specified in apply patch. Specified patch version: , expected: v1"

It looks like when doing server-side-apply we need to set the API version on the object in the request body.