Add support for etcd v3.5.1

This commit is contained in:
Ciprian Hacman 2021-11-25 11:29:47 +02:00
parent f740f0d493
commit 5f8af27efa
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -63,7 +63,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"}
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"}
func etcdVersionIsSupported(version string) bool {
version = strings.TrimPrefix(version, "v")