Skip to content

Commit c8852de

Browse files
committed
fix(version): change oss default version; disable cne-operator version
change oss default version; disable cne-operator version Signed-off-by: ysicing <[email protected]>
1 parent bd9619f commit c8852de

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

common/const.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const (
6060
)
6161

6262
const (
63-
DefaultQuickonOssVersion = "stable-3.0" // 开源版本
63+
DefaultQuickonOssVersion = "stable-2.6" // 开源版本
6464
DefaultQuickonEEVersion = "test-1.0"
6565
K3sBinName = "k3s"
6666
K3sBinPath = "/usr/local/bin/k3s"

pkg/quickon/quickon.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,9 @@ func (m *Meta) Init() error {
281281
"--set", "minio.auth.username=" + cfg.S3.Username,
282282
"--set", "minio.auth.password=" + cfg.S3.Password,
283283
}
284-
if len(chartversion) > 0 {
285-
operatorargs = append(operatorargs, "--version", chartversion)
286-
}
284+
//if len(chartversion) > 0 {
285+
// operatorargs = append(operatorargs, "--version", chartversion)
286+
//}
287287
if helmstd, err := qcexec.Command(os.Args[0], operatorargs...).CombinedOutput(); err != nil {
288288
m.log.Warnf("deploy cne-operator err: %v, std: %s", err, string(helmstd))
289289
} else {
@@ -310,10 +310,10 @@ func (m *Meta) Init() error {
310310
}
311311
output, err := qcexec.Command(os.Args[0], helmargs...).CombinedOutput()
312312
if err != nil {
313-
m.log.Errorf("upgrade install qucheng web failed: %s", string(output))
313+
m.log.Errorf("upgrade install quickon web failed: %s", string(output))
314314
return err
315315
}
316-
m.log.Done("install qucheng success")
316+
m.log.Done("install quickon success")
317317
m.QuickONReady()
318318
initfile := common.GetCustomConfig(common.InitFileName)
319319
if err := file.Writefile(initfile, "init done", true); err != nil {

0 commit comments

Comments
 (0)