1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

[Bugfix] Disable VersionCheck V2 by default (#1352)

This commit is contained in:
Adam Janikowski 2023-07-10 11:13:37 +02:00 committed by GitHub
parent 51a2b703a4
commit 1b71d0343d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View file

@ -9,6 +9,7 @@
- (Feature) Rebalancer V2
- (Bugfix) Fix for ContextExceeded error during backup upload
- (Feature) Version Check V2
- (Bugfix) Disable VersionCheck V2 by default
## [1.2.30](https://github.com/arangodb/kube-arangodb/tree/1.2.30) (2023-06-16)
- (Feature) AgencyCache Interface

View file

@ -58,7 +58,7 @@ func init() {
f.IntVar(&cmdVersionCheckInitContainersInput.minor, "minor", 0, "Minor version of the ArangoDB. 0 if check is disabled")
}
func (c cmdVersionCheckInitContainersInputStruct) Run(cmd *cobra.Command, args []string) error {
func (c *cmdVersionCheckInitContainersInputStruct) Run(cmd *cobra.Command, args []string) error {
if c.versionPath == "" {
return errors.Errorf("Path cannot be empty")
}
@ -83,6 +83,8 @@ func (c cmdVersionCheckInitContainersInputStruct) Run(cmd *cobra.Command, args [
}
}
log.Info().Msg("Version check complete")
return nil
}
}

View file

@ -38,7 +38,7 @@ var upgradeVersionCheckV2 Feature = &feature{
description: "Enable initContainer with pre version check based by Operator",
version: "3.6.0",
enterpriseRequired: false,
enabledByDefault: true,
enabledByDefault: false,
}
func UpgradeVersionCheck() Feature {