Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit d643cb9

Browse files
committed
Update etcd to 3.2.24
Use GCS buckets instead of GitHub releases Signed-off-by: Christian Simon <simon@swine.de>
1 parent d10ad5d commit d643cb9

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2323
| Kubernetes | `>= 1.7 && < 1.11` | `1.10.6` |
2424
| Calico | | `3.1.1` |
2525
| Vault Helper| | `0.9.13` |
26-
| Etcd | | `3.2.17` |
26+
| Etcd | | `3.2.24` |
2727

2828

2929
## [0.4.1]: 0.4.1 - 2018-08-24

puppet/modules/etcd/manifests/params.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
$group = 'etcd'
66
$uid = 873
77
$gid = 873
8-
$version = '3.2.17'
8+
$version = '3.2.24'
99
$bin_dir = '/opt/bin'
1010
$dest_dir = '/opt'
1111
$config_dir = '/etc/etcd'
1212
$data_dir = '/var/lib/etcd'
1313
$download_dir = '/tmp'
14-
$download_url = 'https://github.com/coreos/etcd/releases/download/v#VERSION#/etcd-v#VERSION#-linux-amd64.tar.gz'
14+
$download_url = 'https://storage.googleapis.com/etcd/v#VERSION#/etcd-v#VERSION#-linux-amd64.tar.gz'
1515
}

puppet/modules/etcd/spec/acceptance/single_node_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@
99
$advertise_client_network = '10.0.0.0/8'
1010
1111
etcd::instance{'k8s-main':
12-
version => '3.2.17',
12+
version => '3.2.24',
1313
advertise_client_network => $advertise_client_network,
1414
}
1515
1616
etcd::instance{'k8s-events':
17-
version => '3.2.17',
17+
version => '3.2.24',
1818
client_port => 2389,
1919
peer_port => 2390,
2020
advertise_client_network => $advertise_client_network,
2121
}
2222
2323
etcd::instance{'k8s-overlay':
24-
version => '3.2.17',
24+
version => '3.2.24',
2525
client_port => 2399,
2626
peer_port => 2400,
2727
advertise_client_network => $advertise_client_network,
@@ -35,7 +35,7 @@
3535

3636
[2379, 2389, 2399].each do |port|
3737
it "test etcd on port #{port} on host #{host.name}" do
38-
result = host.shell "ETCDCTL=http://127.0.0.1:#{port} /opt/etcd-3.2.17/etcdctl cluster-health"
38+
result = host.shell "ETCDCTL=http://127.0.0.1:#{port} /opt/etcd-3.2.24/etcdctl cluster-health"
3939
end
4040
end
4141
end

puppet/modules/etcd/spec/acceptance/three_node_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
$advertise_client_network = '10.123.0.0/16'
2323
2424
etcd::instance{'k8s-main':
25-
version => '3.2.17',
25+
version => '3.2.24',
2626
nodename => $::hostname,
2727
members => $members,
2828
initial_cluster => $initial_cluster,
2929
advertise_client_network => $advertise_client_network,
3030
}
3131
3232
etcd::instance{'k8s-events':
33-
version => '3.2.17',
33+
version => '3.2.24',
3434
nodename => $::hostname,
3535
members => $members,
3636
initial_cluster => $initial_cluster,
@@ -40,7 +40,7 @@
4040
}
4141
4242
etcd::instance{'k8s-overlay':
43-
version => '3.2.17',
43+
version => '3.2.24',
4444
nodename => $::hostname,
4545
members => $members,
4646
initial_cluster => $initial_cluster,
@@ -71,7 +71,7 @@
7171
[2379, 2389, 2399].each do |port|
7272
hosts_as('etcd').each do |host|
7373
it "test etcd on port #{port} on host #{host.name}" do
74-
result = host.shell "ETCDCTL=http://127.0.0.1:#{port} /opt/etcd-3.2.17/etcdctl cluster-health"
74+
result = host.shell "ETCDCTL=http://127.0.0.1:#{port} /opt/etcd-3.2.24/etcdctl cluster-health"
7575
end
7676
end
7777
end

puppet/modules/kubernetes/files/etcd.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ After=network.target
44

55
[Service]
66
Type=notify
7-
Environment=ETCD_VER=v3.2.17
8-
Environment=DOWNLOAD_URL=https://github.com/coreos/etcd/releases/download
7+
Environment=ETCD_VER=v3.2.24
8+
Environment=DOWNLOAD_URL=https://storage.googleapis.com/etcd
99
ExecStartPre=/bin/bash -c 'test -x /tmp/test-etcd/etcd || curl -sL ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz -o /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz && mkdir -p /tmp/test-etcd && tar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/test-etcd --strip-components=1'
1010
ExecStart=/tmp/test-etcd/etcd
1111
LimitNOFILE=65536

puppet/modules/tarmak/manifests/init.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@
5757
Integer[1,65535] $etcd_overlay_client_port = 2359,
5858
Integer[1,65535] $etcd_overlay_peer_port = 2360,
5959
String $etcd_overlay_ca_name = 'etcd-overlay',
60-
String $etcd_overlay_version = '3.2.17',
60+
String $etcd_overlay_version = '3.2.24',
6161
Integer[1,65535] $etcd_k8s_main_client_port = 2379,
6262
Integer[1,65535] $etcd_k8s_main_peer_port = 2380,
6363
String $etcd_k8s_main_ca_name = 'etcd-k8s',
64-
String $etcd_k8s_main_version = '3.2.17',
64+
String $etcd_k8s_main_version = '3.2.24',
6565
Integer[1,65535] $etcd_k8s_events_client_port = 2369,
6666
Integer[1,65535] $etcd_k8s_events_peer_port = 2370,
6767
String $etcd_k8s_events_ca_name = 'etcd-k8s',
68-
String $etcd_k8s_events_version = '3.2.17',
68+
String $etcd_k8s_events_version = '3.2.24',
6969
Optional[String] $etcd_mount_unit = undef,
7070
Enum['aws', ''] $cloud_provider = '',
7171
String $helper_path = $tarmak::params::helper_path,

terraform/amazon/modules/bastion/templates/bastion_user_data.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ write_files:
2020
After=network.target
2121
2222
[Service]
23-
Environment=ETCD_VERSION=3.2.17
24-
Environment=ETCD_HASH=0a75e794502e2e76417b19da2807a9915fa58dcbf0985e397741d570f4f305cd
23+
Environment=ETCD_VERSION=3.2.24
24+
Environment=ETCD_HASH=947849dbcfa13927c81236fb76a7c01d587bbab42ab1e807184cd91b026ebed7
2525
Environment=ETCD_DATA_DIR=/var/lib/etcd
2626
PermissionsStartOnly=true
2727
Restart=on-failure
@@ -30,7 +30,7 @@ write_files:
3030
set -e ;\
3131
test -x /opt/etcd-$${ETCD_VERSION}/etcd && exit 0 ;\
3232
mkdir -p /opt/etcd-$${ETCD_VERSION} ;\
33-
curl -sLo /opt/etcd-$${ETCD_VERSION}/etcd.tar.gz https://github.com/coreos/etcd/releases/download/v$${ETCD_VERSION}/etcd-v$${ETCD_VERSION}-linux-amd64.tar.gz ;\
33+
curl -sLo /opt/etcd-$${ETCD_VERSION}/etcd.tar.gz https://storage.googleapis.com/etcd/v$${ETCD_VERSION}/etcd-v$${ETCD_VERSION}-linux-amd64.tar.gz ;\
3434
echo "$${ETCD_HASH} /opt/etcd-$${ETCD_VERSION}/etcd.tar.gz" | sha256sum -c ;\
3535
tar xvf /opt/etcd-$${ETCD_VERSION}/etcd.tar.gz -C /opt/etcd-$${ETCD_VERSION}/ --strip-components 1'
3636
ExecStartPre=/bin/sh -c '\

0 commit comments

Comments
 (0)