New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update default etcd server to 3.4.7 in k8s v1.19 #89895
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
# Build the etcd image | ||
# | ||
# Usage: | ||
# [BUNDLED_ETCD_VERSIONS=3.0.17 3.1.12 3.2.24 3.3.17 3.4.4] [REGISTRY=k8s.gcr.io] [ARCH=amd64] [BASEIMAGE=busybox] make (build|push) | ||
# [BUNDLED_ETCD_VERSIONS=3.0.17 3.1.12 3.2.24 3.3.17 3.4.7] [REGISTRY=k8s.gcr.io] [ARCH=amd64] [BASEIMAGE=busybox] make (build|push) | ||
# | ||
# The image contains different etcd versions to simplify | ||
# upgrades. Thus be careful when removing any versions from here. | ||
|
@@ -26,10 +26,10 @@ | |
# Except from etcd-$(version) and etcdctl-$(version) binaries, we also | ||
# need etcd and etcdctl binaries for backward compatibility reasons. | ||
# That binary will be set to the last version from $(BUNDLED_ETCD_VERSIONS). | ||
BUNDLED_ETCD_VERSIONS?=3.0.17 3.1.12 3.2.24 3.3.17 3.4.4 | ||
BUNDLED_ETCD_VERSIONS?=3.0.17 3.1.12 3.2.24 3.3.17 3.4.7 | ||
|
||
# LATEST_ETCD_VERSION identifies the most recent etcd version available. | ||
LATEST_ETCD_VERSION?=3.4.4 | ||
LATEST_ETCD_VERSION?=3.4.7 | ||
|
||
# REVISION provides a version number fo this image and all it's bundled | ||
# artifacts. It should start at zero for each LATEST_ETCD_VERSION and increment | ||
|
@@ -62,7 +62,7 @@ endif | |
# This option is for running docker manifest command | ||
export DOCKER_CLI_EXPERIMENTAL := enabled | ||
# golang version should match the golang version from https://github.com/coreos/etcd/releases for the current ETCD_VERSION. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just realized the golang version can be found from https://github.com/etcd-io/etcd/blob/master/CHANGELOG-3.4.md#go-1, instead of https://github.com/coreos/etcd/releases, could we update the comment? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I actually couldn't find any info on golang version from https://github.com/coreos/etcd/releases. On the other hand, etcd's changelog is manually updated, and it is not always guaranteed to have an entry for golang version for a patch release. The most reliable way would be to download the official etcd release and run There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. SGTM. |
||
GOLANG_VERSION?=1.12.12 | ||
GOLANG_VERSION?=1.12.17 | ||
GOARM?=7 | ||
TEMP_DIR:=$(shell mktemp -d) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked with SHA256SUMS in https://github.com/etcd-io/etcd/releases/tag/v3.4.7, they match.