Skip to content

Commit df394f2

Browse files
Merge pull request #17058 from spadgett/template-broker-flag
Automatic merge from submit-queue. Update console OPENSHIFT_CONSTANTS flags for cluster up The following flag has been removed: OPENSHIFT_CONSTANTS.ENABLE_TECH_PREVIEW_FEATURE.service_catalog_landing_page The following flag has been renamed: OPENSHIFT_CONSTANTS.ENABLE_TECH_PREVIEW_FEATURE.template_service_broker The new name is OPENSHIFT_CONSTANTS.TEMPLATE_SERVICE_BROKER_ENABLED as the broker is no longer tech preview. See openshift/origin-web-console#2387 /assign @bparees cc @jwforres
2 parents b717fc6 + 30a52cd commit df394f2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pkg/oc/bootstrap/docker/openshift/helper.go

+1-6
Original file line numberDiff line numberDiff line change
@@ -850,12 +850,7 @@ func (h *Helper) updateConfig(configDir string, opt *StartOptions) error {
850850
}
851851
cfg.AssetConfig.ExtensionScripts = append(cfg.AssetConfig.ExtensionScripts, serviceCatalogExtensionPath)
852852

853-
extension := `
854-
window.OPENSHIFT_CONSTANTS.ENABLE_TECH_PREVIEW_FEATURE = {
855-
service_catalog_landing_page: true,
856-
template_service_broker: true
857-
};
858-
`
853+
extension := "window.OPENSHIFT_CONSTANTS.TEMPLATE_SERVICE_BROKER_ENABLED = true;\n"
859854
extensionPath := filepath.Join(configDir, "master", "servicecatalog-extension.js")
860855
err = ioutil.WriteFile(extensionPath, []byte(extension), 0644)
861856
if err != nil {

0 commit comments

Comments
 (0)