diff --git a/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go b/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go index a3989e28898..712a6c38c12 100644 --- a/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go +++ b/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go @@ -1139,8 +1139,9 @@ type FieldNameValuePair struct { type FieldValue struct { // Exactly one of the following fields should be set. // FloatValue is a primitive float value. + // it is serialized as a string // +optional - FloatValue *float64 `json:"floatValue,omitempty" protobuf:"bytes,1,opt,name=floatValue"` + FloatValue *string `json:"floatValue,omitempty" protobuf:"bytes,1,opt,name=floatValue"` // IntValue is a primitive int value. // +optional IntValue *int32 `json:"intValue,omitempty" protobuf:"varint,2,opt,name=intValue"`