Merge pull request #63189 from hzxuzhonghu/master

Automatic merge from submit-queue (batch tested with PRs 61804, 63189). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

make use of simple dynamic client instead of deprecated client pool

**What this PR does / why we need it**:

Use simple dynamic client through all integration test.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #63182

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```

Kubernetes-commit: b75d6464c8f04d5526ab633e75675f1c728f8606
This commit is contained in:
Kubernetes Publisher 2018-04-27 08:44:07 -07:00
commit 3fd815dfa7
2 changed files with 93 additions and 87 deletions

164
Godeps/Godeps.json generated
View File

@ -252,331 +252,331 @@
}, },
{ {
"ImportPath": "k8s.io/api/admissionregistration/v1alpha1", "ImportPath": "k8s.io/api/admissionregistration/v1alpha1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/admissionregistration/v1beta1", "ImportPath": "k8s.io/api/admissionregistration/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/apps/v1", "ImportPath": "k8s.io/api/apps/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/apps/v1beta1", "ImportPath": "k8s.io/api/apps/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/apps/v1beta2", "ImportPath": "k8s.io/api/apps/v1beta2",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/authentication/v1", "ImportPath": "k8s.io/api/authentication/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/authentication/v1beta1", "ImportPath": "k8s.io/api/authentication/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/authorization/v1", "ImportPath": "k8s.io/api/authorization/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/authorization/v1beta1", "ImportPath": "k8s.io/api/authorization/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/autoscaling/v1", "ImportPath": "k8s.io/api/autoscaling/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/autoscaling/v2beta1", "ImportPath": "k8s.io/api/autoscaling/v2beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/batch/v1", "ImportPath": "k8s.io/api/batch/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/batch/v1beta1", "ImportPath": "k8s.io/api/batch/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/batch/v2alpha1", "ImportPath": "k8s.io/api/batch/v2alpha1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/certificates/v1beta1", "ImportPath": "k8s.io/api/certificates/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/core/v1", "ImportPath": "k8s.io/api/core/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/events/v1beta1", "ImportPath": "k8s.io/api/events/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/extensions/v1beta1", "ImportPath": "k8s.io/api/extensions/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/imagepolicy/v1alpha1", "ImportPath": "k8s.io/api/imagepolicy/v1alpha1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/networking/v1", "ImportPath": "k8s.io/api/networking/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/policy/v1beta1", "ImportPath": "k8s.io/api/policy/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/rbac/v1", "ImportPath": "k8s.io/api/rbac/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/rbac/v1alpha1", "ImportPath": "k8s.io/api/rbac/v1alpha1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/rbac/v1beta1", "ImportPath": "k8s.io/api/rbac/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/scheduling/v1alpha1", "ImportPath": "k8s.io/api/scheduling/v1alpha1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/settings/v1alpha1", "ImportPath": "k8s.io/api/settings/v1alpha1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/storage/v1", "ImportPath": "k8s.io/api/storage/v1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/storage/v1alpha1", "ImportPath": "k8s.io/api/storage/v1alpha1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/api/storage/v1beta1", "ImportPath": "k8s.io/api/storage/v1beta1",
"Rev": "b39a8bdff32033fd1f645f17f1625f3b691124b6" "Rev": "e8df68e6b4a0eb60c21b9ba3a0b3e049bc041a31"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/equality", "ImportPath": "k8s.io/apimachinery/pkg/api/equality",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/errors", "ImportPath": "k8s.io/apimachinery/pkg/api/errors",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/meta", "ImportPath": "k8s.io/apimachinery/pkg/api/meta",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/resource", "ImportPath": "k8s.io/apimachinery/pkg/api/resource",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/testing", "ImportPath": "k8s.io/apimachinery/pkg/api/testing",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/testing/fuzzer", "ImportPath": "k8s.io/apimachinery/pkg/api/testing/fuzzer",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/testing/roundtrip", "ImportPath": "k8s.io/apimachinery/pkg/api/testing/roundtrip",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apimachinery", "ImportPath": "k8s.io/apimachinery/pkg/apimachinery",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apimachinery/announced", "ImportPath": "k8s.io/apimachinery/pkg/apimachinery/announced",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apimachinery/registered", "ImportPath": "k8s.io/apimachinery/pkg/apimachinery/registered",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion", "ImportPath": "k8s.io/apimachinery/pkg/conversion",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams", "ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/fields", "ImportPath": "k8s.io/apimachinery/pkg/fields",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/labels", "ImportPath": "k8s.io/apimachinery/pkg/labels",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime", "ImportPath": "k8s.io/apimachinery/pkg/runtime",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/schema", "ImportPath": "k8s.io/apimachinery/pkg/runtime/schema",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/selection", "ImportPath": "k8s.io/apimachinery/pkg/selection",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/types", "ImportPath": "k8s.io/apimachinery/pkg/types",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/cache", "ImportPath": "k8s.io/apimachinery/pkg/util/cache",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/clock", "ImportPath": "k8s.io/apimachinery/pkg/util/clock",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/diff", "ImportPath": "k8s.io/apimachinery/pkg/util/diff",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/errors", "ImportPath": "k8s.io/apimachinery/pkg/util/errors",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/framer", "ImportPath": "k8s.io/apimachinery/pkg/util/framer",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream", "ImportPath": "k8s.io/apimachinery/pkg/util/httpstream",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy", "ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/intstr", "ImportPath": "k8s.io/apimachinery/pkg/util/intstr",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/json", "ImportPath": "k8s.io/apimachinery/pkg/util/json",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch", "ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/net", "ImportPath": "k8s.io/apimachinery/pkg/util/net",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand", "ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/runtime", "ImportPath": "k8s.io/apimachinery/pkg/util/runtime",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/sets", "ImportPath": "k8s.io/apimachinery/pkg/util/sets",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch", "ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation", "ImportPath": "k8s.io/apimachinery/pkg/util/validation",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation/field", "ImportPath": "k8s.io/apimachinery/pkg/util/validation/field",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/wait", "ImportPath": "k8s.io/apimachinery/pkg/util/wait",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/yaml", "ImportPath": "k8s.io/apimachinery/pkg/util/yaml",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/version", "ImportPath": "k8s.io/apimachinery/pkg/version",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/watch", "ImportPath": "k8s.io/apimachinery/pkg/watch",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect",
"Rev": "6ad68b3c504c71a07c48328779d8b5aabe2e4dd9" "Rev": "83d7ef28e0fad5ab58a504754c1def10404d297d"
}, },
{ {
"ImportPath": "k8s.io/kube-openapi/pkg/util/proto", "ImportPath": "k8s.io/kube-openapi/pkg/util/proto",

View File

@ -158,8 +158,17 @@ func (c *dynamicResourceClient) UpdateStatus(obj *unstructured.Unstructured) (*u
return nil, err return nil, err
} }
result := c.client.client.Put().AbsPath(append(c.makeURLSegments(accessor.GetName()), "status")...).Body(obj).Do() outBytes, err := runtime.Encode(unstructured.UnstructuredJSONScheme, obj)
uncastObj, err := result.Get() if err != nil {
return nil, err
}
result := c.client.client.Put().AbsPath(append(c.makeURLSegments(accessor.GetName()), "status")...).Body(outBytes).Do()
retBytes, err := result.Raw()
if err != nil {
return nil, err
}
uncastObj, err := runtime.Decode(unstructured.UnstructuredJSONScheme, retBytes)
if err != nil { if err != nil {
return nil, err return nil, err
} }
@ -167,9 +176,6 @@ func (c *dynamicResourceClient) UpdateStatus(obj *unstructured.Unstructured) (*u
} }
func (c *dynamicResourceClient) Delete(name string, opts *metav1.DeleteOptions) error { func (c *dynamicResourceClient) Delete(name string, opts *metav1.DeleteOptions) error {
if opts == nil {
opts = &metav1.DeleteOptions{}
}
if opts == nil { if opts == nil {
opts = &metav1.DeleteOptions{} opts = &metav1.DeleteOptions{}
} }