Skip to content

Commit

Permalink
* [app] update zentao version
Browse files Browse the repository at this point in the history
  • Loading branch information
ysicing committed Aug 2, 2024
1 parent 8ea440e commit c1f8101
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions common/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ const (
const (
DefaultQuickonOSSVersion = "3.0.2" // 开源版本
DefaultQuickonEEVersion = "1.0"
DefaultZentaoDevOPSOSSVersion = "20.3.0"
DefaultZentaoDevOPSMaxVersion = "5.2.0"
DefaultZentaoDevOPSBizVersion = "10.2.0"
DefaultZentaoDevOPSIPDVersion = "2.2.0"
DefaultZentaoDevOPSOSSVersion = "20.4.0"
DefaultZentaoDevOPSMaxVersion = "5.3.0"
DefaultZentaoDevOPSBizVersion = "10.3.0"
DefaultZentaoDevOPSIPDVersion = "2.3.0"
K3sBinName = "k3s"
K3sBinPath = "/usr/local/bin/k3s"
HelmBinName = "helm"
Expand Down
3 changes: 3 additions & 0 deletions pkg/quickon/quickon.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,9 @@ func (m *Meta) Init() error {
// 指定类型
helmargs = append(helmargs, "--set", fmt.Sprintf("deploy.product=%s", m.Type))
// 指定版本
if strings.HasSuffix(installVersion, ".0") {
installVersion = strings.TrimSuffix(installVersion, ".0")
}
deployVersion := fmt.Sprintf("deploy.versions.%s=%s%s.k8s", m.Type, m.Type, installVersion)
if m.Type == common.ZenTaoOSSType.String() {
deployVersion = fmt.Sprintf("deploy.versions.%s=%s", m.Type, installVersion)
Expand Down

0 comments on commit c1f8101

Please sign in to comment.