Skip to content

Commit

Permalink
Merge pull request #55650 from smarterclayton/make_unstructured_conve…
Browse files Browse the repository at this point in the history
…rsion

Automatic merge from submit-queue. 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>.

Move unstructured conversion into pkg/runtime

Scheme conversion should support unstructured conversion natively to
allow going from unstructured to typed and back. It is not a higher
level responsibility to do that conversion because the scheme is the
only one who knows what types it supports.

@liggitt @kubernetes/sig-cli-api-reviews I am going to make Scheme support unstructured in ConvertToVersion and Convert, which means resource.Builder and the CLI can get simpler for all existing use cases where versioned and unstructured need to coexist.

Kubernetes-commit: a67abac7654cc3e05618d41191d71730cf9565ac
  • Loading branch information
k8s-publish-robot committed Nov 28, 2017
2 parents 704a4e2 + 086baa0 commit 1aad7d1
Showing 1 changed file with 228 additions and 244 deletions.
Loading

0 comments on commit 1aad7d1

Please sign in to comment.