Use etcd 3.5.3 instead of 3.5.1

3.5.3 includes the fixes for the potential etcd 3.5.x corruption
issues.
This commit is contained in:
justinsb 2022-04-17 17:04:46 -04:00
parent 02e1abc068
commit 3027943dd2
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ var _ loader.OptionsBuilder = &EtcdOptionsBuilder{}
const (
DefaultEtcd3Version_1_19 = "3.4.13"
DefaultEtcd3Version_1_22 = "3.5.1"
DefaultEtcd3Version_1_22 = "3.5.3"
)
// BuildOptions is responsible for filling in the defaults for the etcd cluster model

View File

@ -62,7 +62,7 @@ func (b *EtcdManagerOptionsBuilder) BuildOptions(o interface{}) error {
return nil
}
var supportedEtcdVersions = []string{"3.1.12", "3.2.18", "3.2.24", "3.3.10", "3.3.13", "3.3.17", "3.4.3", "3.4.13", "3.5.0", "3.5.1"}
var supportedEtcdVersions = []string{"3.1.12", "3.2.18", "3.2.24", "3.3.10", "3.3.13", "3.3.17", "3.4.3", "3.4.13", "3.5.0", "3.5.1", "3.5.3"}
func etcdVersionIsSupported(version string) bool {
version = strings.TrimPrefix(version, "v")