@@ -7,8 +7,11 @@ import (
7
7
"path"
8
8
"strings"
9
9
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"
12
15
"github.com/spf13/cobra"
13
16
"github.com/spf13/pflag"
14
17
@@ -17,7 +20,7 @@ import (
17
20
18
21
cmdutil "github.com/openshift/origin/pkg/cmd/util"
19
22
"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"
21
24
"github.com/openshift/origin/pkg/oc/bootstrap/docker"
22
25
"github.com/openshift/origin/pkg/oc/bootstrap/docker/dockerhelper"
23
26
"github.com/openshift/origin/pkg/version"
42
45
43
46
// availableComponents lists the components that are available for installation.
44
47
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
+ },
45
57
"service-catalog" : func (ctx componentinstall.Context ) componentinstall.Component {
46
58
return & service_catalog.ServiceCatalogComponentOptions {InstallContext : ctx }
47
59
},
0 commit comments