Skip to content

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 committed Jan 2, 2018
1 parent c4cf78b commit 2231a78
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 2231a78

Please sign in to comment.