Closed threadproc closed 5 years ago
Does your CRD implement the proto Message interface? If so this client will assume it should be encoded as a protobuf.
Taking another look at it with fresh eyes, I'm extending the runtime.TypeMeta
type, which brings in the Reset
, String
, and ProtoMessage
functions.
Thanks!
When calling
.Create
with a CRD-defined object, the client attempts to send it as protobuf-encoded message which is rejected by the Kubernetes API.