Skip to content

Commit

Permalink
Merge pull request #16976 from juanvallejo/jvallejo/pick-upstream-45743
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue.

UPSTREAM: 45743: pick 45743 to fix config groupversion defaults

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1503910

Picks upstream changes introduced in https://github.com/kubernetes/kubernetes/pull/45743/files
which fix a bug where setting kubernetes defaults on a rest config would sometimes overwrite its ContentConfig.GroupVersion field with the wrong group version - causing resources such as `cronjob.v2alpha1.batch` to return an error [1] when attempted to be described through `oc`.

1.
```
$ oc describe cronjob existing-cronjob
Error from server (NotFound): the server could not find the requested resource
```

cc @deads2k @fabianofranz
  • Loading branch information
openshift-merge-robot authored Oct 22, 2017
2 parents 5fa553e + 4df1f41 commit 008f2d5
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 124 deletions.
11 changes: 4 additions & 7 deletions vendor/k8s.io/kubernetes/pkg/client/unversioned/helper.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 13 additions & 16 deletions vendor/k8s.io/kubernetes/pkg/kubectl/cmd/util/clientcache.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 008f2d5

Please sign in to comment.