Skip to content

Commit

Permalink
Merge pull request #20642 from deads2k/cli-01-patch
Browse files Browse the repository at this point in the history
allow patching configapi using oc patch
  • Loading branch information
openshift-merge-robot authored Aug 20, 2018
2 parents 2e05d26 + 75a195d commit 70c96cb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/cmd/server/apis/config/v1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"k8s.io/apimachinery/pkg/runtime/schema"
coreinternalconversions "k8s.io/kubernetes/pkg/apis/core"

buildv1 "github.com/openshift/api/build/v1"
buildinternalconversions "github.com/openshift/origin/pkg/build/apis/build/v1"
"github.com/openshift/origin/pkg/cmd/server/apis/config"
)
Expand All @@ -23,6 +24,12 @@ var (
addDefaultingFuncs,
)
InstallLegacy = legacySchemeBuilder.AddToScheme

externalLegacySchemeBuilder = runtime.NewSchemeBuilder(
addKnownTypesToLegacy,
buildv1.Install,
)
InstallLegacyExternal = externalLegacySchemeBuilder.AddToScheme
)

// Adds the list of known types to api.Scheme.
Expand Down
3 changes: 3 additions & 0 deletions vendor/k8s.io/kubernetes/cluster/clientbin.sh

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

0 comments on commit 70c96cb

Please sign in to comment.