Merge pull request #65298 from nikhita/cherrypick-jsoniter-bump-1.9

Automatic merge from submit-queue.

Manual cherrypick of #65034 to 1.9: make json serializer case sensitive

fixes partially https://github.com/kubernetes/kubernetes/issues/64612

This PR imports the latest jsoniterator library so that case sensitivity during unmarshalling is optional. The PR also sets Kubernetes json serializer to be case sensitive.

**Release note**:

```release-note
ACTION REQUIRED: Kubernetes JSON deserializer is now case-sensitive to restore compatibility with pre-1.8 servers. If your config files contains fields with wrong case, the config files will be now invalid.
```

/sig api-machinery
/kind bug
/assign caesarxuchao liggitt thockin sttts mbohlool

Kubernetes-commit: f4cf484c2cb6056e28fb9759a3c913be3eed990a
This commit is contained in:
Kubernetes Publisher
2018-06-26 18:08:20 -07:00

116
Godeps/Godeps.json generated
View File

@@ -228,7 +228,7 @@
},
{
"ImportPath": "github.com/json-iterator/go",
"Rev": "36b14963da70d11297d313183d7e6388c8510e1e"
"Rev": "f2b4162afba35581b6d4a50d3b8f34e33c144682"
},
{
"ImportPath": "github.com/juju/ratelimit",
@@ -246,6 +246,14 @@
"ImportPath": "github.com/mailru/easyjson/jwriter",
"Rev": "2f5df55504ebc322e4d52d34df6a1f5b503bf26d"
},
{
"ImportPath": "github.com/modern-go/concurrent",
"Rev": "bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94"
},
{
"ImportPath": "github.com/modern-go/reflect2",
"Rev": "05fbef0ca5da472bbf96c9322b84a53edc03c9fd"
},
{
"ImportPath": "github.com/peterbourgon/diskv",
"Rev": "5f041e8faa004a95c88a202771f4cc3e991971e6"
@@ -488,215 +496,215 @@
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/equality",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/errors",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/meta",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/resource",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/testing",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/testing/fuzzer",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/api/testing/roundtrip",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apimachinery",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apimachinery/announced",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apimachinery/registered",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1alpha1",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/conversion",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/fields",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/labels",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/schema",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/selection",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/types",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/cache",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/clock",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/diff",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/errors",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/framer",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/intstr",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/json",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/net",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/runtime",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/sets",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/validation",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/validation/field",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/wait",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/util/yaml",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/version",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/pkg/watch",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect",
"Rev": "21efb2924c7cf1920f76af05b1fd6a325bf46dfc"
"Rev": "fb40df2b502912cbe3a93aa61c2b2487f39cb42f"
},
{
"ImportPath": "k8s.io/kube-openapi/pkg/common",