Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

Commit

Permalink
pkg/apis: bump etcd version to 3.2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
fanminshi authored and Jingtao Ren committed Jan 9, 2018
1 parent 0999614 commit 52c6731
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/apis/etcd/v1beta2/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
)

const (
defaultRepository = "quay.io/coreos/etcd"
defaultVersion = "3.2.11"
defaultRepository = "quay.io/coreos/etcd"
DefaultEtcdVersion = "3.2.13"
)

var (
Expand Down Expand Up @@ -89,7 +89,7 @@ type ClusterSpec struct {
// The version must follow the [semver]( http://semver.org) format, for example "3.2.11".
// Only etcd released versions are supported: https://github.com/coreos/etcd/releases
//
// If version is not set, default is "3.2.11".
// If version is not set, default is "3.2.13".
Version string `json:"version,omitempty"`

// Paused is to pause the control of the operator for the etcd cluster.
Expand Down Expand Up @@ -173,7 +173,7 @@ func (e *EtcdCluster) SetDefaults() {
}

if len(c.Version) == 0 {
c.Version = defaultVersion
c.Version = DefaultEtcdVersion
}

c.Version = strings.TrimLeft(c.Version, "v")
Expand Down

0 comments on commit 52c6731

Please sign in to comment.