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

Commit 17251ed

Browse files
authored
Merge pull request #514 from simonswine/update-etcd-3.2.24
Update etcd 3.2.24
2 parents 50bfa64 + 86b2117 commit 17251ed

File tree

20 files changed

+514
-692
lines changed

20 files changed

+514
-692
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/calico/README.md

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ calico init.pp
5757
* Type: `String`
5858
* Default: `'kube-system'`
5959

60+
##### `pod_network`
61+
62+
* Type: `Optional[String]`
63+
* Default: `undef`
64+
6065
##### `mtu`
6166

6267
* Type: `Integer[1000,65535]`
@@ -72,13 +77,34 @@ calico init.pp
7277

7378
This class disable the source/destination check on AWS instances
7479

80+
#### Parameters
81+
82+
##### `image`
83+
84+
* Type: `String`
85+
* Default: `'ottoyiu/k8s-ec2-srcdst'`
86+
87+
##### `version`
88+
89+
* Type: `String`
90+
* Default: `'0.1.0'`
91+
7592

7693
### `calico::node`
7794

95+
Calico Node
7896

97+
Calico Node contains a Daemon Set that spinsup the overlay network on every
98+
workern node.
7999

80100
#### Parameters
81101

102+
##### `metrics_port`
103+
104+
* Port for felix metrics endpoint, 0 disables metrics collection
105+
* Type: `Integer[0,65535]`
106+
* Default: `9091`
107+
82108
##### `node_image`
83109

84110
* Type: `String`
@@ -87,7 +113,7 @@ This class disable the source/destination check on AWS instances
87113
##### `node_version`
88114

89115
* Type: `String`
90-
* Default: `'2.5.1'`
116+
* Default: `'3.1.1'`
91117

92118
##### `cni_image`
93119

@@ -97,12 +123,7 @@ This class disable the source/destination check on AWS instances
97123
##### `cni_version`
98124

99125
* Type: `String`
100-
* Default: `'1.10.0'`
101-
102-
##### `ipv4_pool_cidr`
103-
104-
* Type: `String`
105-
* Default: `'10.231.0.0/16'`
126+
* Default: `'3.1.1'`
106127

107128
##### `ipv4_pool_ipip_mode`
108129

@@ -124,9 +145,9 @@ calico params.pp
124145
##### `image`
125146

126147
* Type: `String`
127-
* Default: `'quay.io/calico/kube-policy-controller'`
148+
* Default: `'quay.io/calico/kube-controllers'`
128149

129150
##### `version`
130151

131152
* Type: `String`
132-
* Default: `'0.7.0'`
153+
* Default: `'3.1.1'`
File renamed without changes.

puppet/modules/etcd/README.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
2. [Classes](#classes)
77
3. [Defined Types](#defined-types)
88
## Description
9-
This module is part of [Tarmak](http://docs.tarmak.io) and should currently be considered alpha.
10-
11-
[![Travis](https://img.shields.io/travis/jetstack/puppet-module-etcd.svg)](https://travis-ci.org/jetstack/puppet-module-etcd/)
9+
Install/configure an etcd node.
1210

1311
## Classes
1412

@@ -128,6 +126,26 @@ etcd variable defaults
128126
* Type: `String`
129127
* Default: `nil`
130128

129+
##### `systemd_wants`
130+
131+
* Type: `Array[String]`
132+
* Default: `[]`
133+
134+
##### `systemd_requires`
135+
136+
* Type: `Array[String]`
137+
* Default: `[]`
138+
139+
##### `systemd_after`
140+
141+
* Type: `Array[String]`
142+
* Default: `[]`
143+
144+
##### `systemd_before`
145+
146+
* Type: `Array[String]`
147+
* Default: `[]`
148+
131149
##### `initial_cluster`
132150

133151
* Type: `Array`

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

0 commit comments

Comments
 (0)