Skip to content

Commit 1b71d03

Browse files
authored
[Bugfix] Disable VersionCheck V2 by default (#1352)
1 parent 51a2b70 commit 1b71d03

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- (Feature) Rebalancer V2
1010
- (Bugfix) Fix for ContextExceeded error during backup upload
1111
- (Feature) Version Check V2
12+
- (Bugfix) Disable VersionCheck V2 by default
1213

1314
## [1.2.30](https://github.com/arangodb/kube-arangodb/tree/1.2.30) (2023-06-16)
1415
- (Feature) AgencyCache Interface

cmd/init_container_version_check.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func init() {
5858
f.IntVar(&cmdVersionCheckInitContainersInput.minor, "minor", 0, "Minor version of the ArangoDB. 0 if check is disabled")
5959
}
6060

61-
func (c cmdVersionCheckInitContainersInputStruct) Run(cmd *cobra.Command, args []string) error {
61+
func (c *cmdVersionCheckInitContainersInputStruct) Run(cmd *cobra.Command, args []string) error {
6262
if c.versionPath == "" {
6363
return errors.Errorf("Path cannot be empty")
6464
}
@@ -83,6 +83,8 @@ func (c cmdVersionCheckInitContainersInputStruct) Run(cmd *cobra.Command, args [
8383
}
8484
}
8585

86+
log.Info().Msg("Version check complete")
87+
8688
return nil
8789
}
8890
}

pkg/deployment/features/upgrade.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var upgradeVersionCheckV2 Feature = &feature{
3838
description: "Enable initContainer with pre version check based by Operator",
3939
version: "3.6.0",
4040
enterpriseRequired: false,
41-
enabledByDefault: true,
41+
enabledByDefault: false,
4242
}
4343

4444
func UpgradeVersionCheck() Feature {

0 commit comments

Comments
 (0)