Skip to content

Commit e0b02fb

Browse files
Merge pull request #19246 from deads2k/up-36-components
make remaining oc cluster up components
2 parents d67b8ce + 04546c7 commit e0b02fb

File tree

23 files changed

+160
-78
lines changed

23 files changed

+160
-78
lines changed

pkg/oc/bootstrap/clusteradd/cmd.go

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ import (
77
"path"
88
"strings"
99

10-
"github.com/openshift/origin/pkg/oc/bootstrap/clusterup/components/service-catalog"
11-
"github.com/openshift/origin/pkg/oc/bootstrap/clusterup/components/template-service-broker"
10+
"github.com/openshift/origin/pkg/oc/bootstrap/clusteradd/components/registry"
11+
"github.com/openshift/origin/pkg/oc/bootstrap/clusteradd/components/router"
12+
"github.com/openshift/origin/pkg/oc/bootstrap/clusteradd/components/service-catalog"
13+
"github.com/openshift/origin/pkg/oc/bootstrap/clusteradd/components/template-service-broker"
14+
"github.com/openshift/origin/pkg/oc/bootstrap/clusteradd/components/web-console"
1215
"github.com/spf13/cobra"
1316
"github.com/spf13/pflag"
1417

@@ -17,7 +20,7 @@ import (
1720

1821
cmdutil "github.com/openshift/origin/pkg/cmd/util"
1922
"github.com/openshift/origin/pkg/cmd/util/variable"
20-
"github.com/openshift/origin/pkg/oc/bootstrap/clusterup/componentinstall"
23+
"github.com/openshift/origin/pkg/oc/bootstrap/clusteradd/componentinstall"
2124
"github.com/openshift/origin/pkg/oc/bootstrap/docker"
2225
"github.com/openshift/origin/pkg/oc/bootstrap/docker/dockerhelper"
2326
"github.com/openshift/origin/pkg/version"
@@ -42,6 +45,15 @@ var (
4245

4346
// availableComponents lists the components that are available for installation.
4447
var availableComponents = map[string]func(ctx componentinstall.Context) componentinstall.Component{
48+
"web-console": func(ctx componentinstall.Context) componentinstall.Component {
49+
return &web_console.WebConsoleComponentOptions{InstallContext: ctx}
50+
},
51+
"registry": func(ctx componentinstall.Context) componentinstall.Component {
52+
return &registry.RegistryComponentOptions{InstallContext: ctx}
53+
},
54+
"router": func(ctx componentinstall.Context) componentinstall.Component {
55+
return &router.RouterComponentOptions{InstallContext: ctx}
56+
},
4557
"service-catalog": func(ctx componentinstall.Context) componentinstall.Component {
4658
return &service_catalog.ServiceCatalogComponentOptions{InstallContext: ctx}
4759
},
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
reviewers:
2+
- bparees
3+
- jim-minter
4+
approvers:
5+
- bparees
6+
- jim-minter

pkg/oc/bootstrap/clusterup/components/register-template-service-broker/register_tsb.go renamed to pkg/oc/bootstrap/clusteradd/components/register-template-service-broker/register_tsb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/golang/glog"
99

1010
"github.com/openshift/origin/pkg/oc/bootstrap"
11-
"github.com/openshift/origin/pkg/oc/bootstrap/clusterup/componentinstall"
11+
"github.com/openshift/origin/pkg/oc/bootstrap/clusteradd/componentinstall"
1212
"github.com/openshift/origin/pkg/oc/bootstrap/docker/dockerhelper"
1313
"github.com/openshift/origin/pkg/oc/bootstrap/docker/errors"
1414
)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
reviewers:
2+
- bparees
3+
approvers:
4+
- bparees

0 commit comments

Comments
 (0)