Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
337e0e18
Unverified
Commit
337e0e18
authored
Sep 20, 2018
by
k8s-ci-robot
Committed by
GitHub
Sep 20, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #68898 from ixdy/fix-etcd-image-no-3.2.18
Remove etcd 3.2.18 from the etcd image
parents
b33b0fb0
8d8faa33
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
Makefile
cluster/images/etcd/Makefile
+2
-2
migrate-if-needed.sh
cluster/images/etcd/migrate-if-needed.sh
+3
-4
No files found.
cluster/images/etcd/Makefile
View file @
337e0e18
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
# Build the etcd image
# Build the etcd image
#
#
# Usage:
# Usage:
# [BUNDLED_ETCD_VERSIONS=2.2.1 2.3.7 3.0.17 3.1.12 3.2.
18 3.2.
24] [REGISTRY=k8s.gcr.io] [ARCH=amd64] [BASEIMAGE=busybox] make (build|push)
# [BUNDLED_ETCD_VERSIONS=2.2.1 2.3.7 3.0.17 3.1.12 3.2.24] [REGISTRY=k8s.gcr.io] [ARCH=amd64] [BASEIMAGE=busybox] make (build|push)
#
#
# The image contains different etcd versions to simplify
# The image contains different etcd versions to simplify
# upgrades. Thus be careful when removing any versions from here.
# upgrades. Thus be careful when removing any versions from here.
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
# Except from etcd-$(version) and etcdctl-$(version) binaries, we also
# Except from etcd-$(version) and etcdctl-$(version) binaries, we also
# need etcd and etcdctl binaries for backward compatibility reasons.
# need etcd and etcdctl binaries for backward compatibility reasons.
# That binary will be set to the last version from $(BUNDLED_ETCD_VERSIONS).
# That binary will be set to the last version from $(BUNDLED_ETCD_VERSIONS).
BUNDLED_ETCD_VERSIONS
?=
2.2.1 2.3.7 3.0.17 3.1.12 3.2.
18 3.2.
24
BUNDLED_ETCD_VERSIONS
?=
2.2.1 2.3.7 3.0.17 3.1.12 3.2.24
# LATEST_ETCD_VERSION identifies the most recent etcd version available.
# LATEST_ETCD_VERSION identifies the most recent etcd version available.
LATEST_ETCD_VERSION
?=
3.2.24
LATEST_ETCD_VERSION
?=
3.2.24
...
...
cluster/images/etcd/migrate-if-needed.sh
View file @
337e0e18
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
# This script performs etcd upgrade based on the following environmental
# This script performs etcd upgrade based on the following environmental
# variables:
# variables:
# TARGET_STORAGE - API of etcd to be used (supported: 'etcd2', 'etcd3')
# TARGET_STORAGE - API of etcd to be used (supported: 'etcd2', 'etcd3')
# TARGET_VERSION - etcd release to be used (supported: '2.2.1', '2.3.7', '3.0.17', '3.1.12', '3.2.
18', '3.2.
24')
# TARGET_VERSION - etcd release to be used (supported: '2.2.1', '2.3.7', '3.0.17', '3.1.12', '3.2.24')
# DATA_DIRECTORY - directory with etcd data
# DATA_DIRECTORY - directory with etcd data
#
#
# The current etcd version and storage format is detected based on the
# The current etcd version and storage format is detected based on the
...
@@ -29,8 +29,7 @@
...
@@ -29,8 +29,7 @@
# - 2.2.1/etcd2 -> 2.3.7/etcd2
# - 2.2.1/etcd2 -> 2.3.7/etcd2
# - 2.3.7/etcd2 -> 3.0.17/etcd2
# - 2.3.7/etcd2 -> 3.0.17/etcd2
# - 3.0.17/etcd3 -> 3.1.12/etcd3
# - 3.0.17/etcd3 -> 3.1.12/etcd3
# - 3.1.12/etcd3 -> 3.2.18/etcd3
# - 3.1.12/etcd3 -> 3.2.24/etcd3
# - 3.2.18/etcd3 -> 3.2.24/etcd3
#
#
# NOTE: The releases supported in this script has to match release binaries
# NOTE: The releases supported in this script has to match release binaries
# present in the etcd image (to make this script work correctly).
# present in the etcd image (to make this script work correctly).
...
@@ -43,7 +42,7 @@ set -o nounset
...
@@ -43,7 +42,7 @@ set -o nounset
# NOTE: BUNDLED_VERSION has to match release binaries present in the
# NOTE: BUNDLED_VERSION has to match release binaries present in the
# etcd image (to make this script work correctly).
# etcd image (to make this script work correctly).
BUNDLED_VERSIONS
=
"2.2.1, 2.3.7, 3.0.17, 3.1.12, 3.2.
18 3.2.
24"
BUNDLED_VERSIONS
=
"2.2.1, 2.3.7, 3.0.17, 3.1.12, 3.2.24"
ETCD_NAME
=
"
${
ETCD_NAME
:-
etcd
-
$(
hostname
)}
"
ETCD_NAME
=
"
${
ETCD_NAME
:-
etcd
-
$(
hostname
)}
"
if
[
-z
"
${
DATA_DIRECTORY
:-}
"
]
;
then
if
[
-z
"
${
DATA_DIRECTORY
:-}
"
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment