Skip to content

Commit

Permalink
feat(installer): disabel import charts (#1879)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Ryu authored Apr 27, 2022
1 parent 4d12cbe commit e0a3522
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions cmd/tke-installer/app/installer/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,19 +455,19 @@ func (t *TKE) initSteps() {
},
}...)

if t.Para.Config.Registry.ThirdPartyRegistry == nil &&
t.Para.Config.Registry.TKERegistry != nil {
t.steps = append(t.steps, []types.Handler{
{
Name: "Import charts",
Func: t.importCharts,
},
{
Name: "Import Expansion Charts",
Func: t.importExpansionCharts,
},
}...)
}
// if t.Para.Config.Registry.ThirdPartyRegistry == nil &&
// t.Para.Config.Registry.TKERegistry != nil {
// t.steps = append(t.steps, []types.Handler{
// {
// Name: "Import charts",
// Func: t.importCharts,
// },
// {
// Name: "Import Expansion Charts",
// Func: t.importExpansionCharts,
// },
// }...)
// }

if len(t.Para.Config.ExpansionApps) > 0 {
t.steps = append(t.steps, []types.Handler{
Expand Down

0 comments on commit e0a3522

Please sign in to comment.