Skip to content

Commit cbfc76e

Browse files
Merge pull request #517 from puppetlabs/release-prep
Release prep v6.1.0
2 parents 914af7f + 07eeea2 commit cbfc76e

File tree

3 files changed

+211
-7
lines changed

3 files changed

+211
-7
lines changed

CHANGELOG.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [v6.1.0](https://github.com/puppetlabs/puppetlabs-kubernetes/tree/v6.1.0) (2021-05-11)
6+
7+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-kubernetes/compare/v6.0.0...v6.1.0)
8+
9+
### Added
10+
11+
- Add config.toml for containerd installed with 'archive' [\#516](https://github.com/puppetlabs/puppetlabs-kubernetes/pull/516) ([danifr](https://github.com/danifr))
12+
- Improvements to containerd configs when using a package [\#510](https://github.com/puppetlabs/puppetlabs-kubernetes/pull/510) ([treydock](https://github.com/treydock))
13+
- Add kubeadm skip-phases option [\#507](https://github.com/puppetlabs/puppetlabs-kubernetes/pull/507) ([BaronMsk](https://github.com/BaronMsk))
14+
- Configure image registry settings for containerd when installed via package [\#500](https://github.com/puppetlabs/puppetlabs-kubernetes/pull/500) ([andeman](https://github.com/andeman))
15+
16+
### Fixed
17+
18+
- \(IAC-1497\) - Removal of unsupported `translate` dependency [\#501](https://github.com/puppetlabs/puppetlabs-kubernetes/pull/501) ([david22swan](https://github.com/david22swan))
19+
- Repair containerd archive [\#497](https://github.com/puppetlabs/puppetlabs-kubernetes/pull/497) ([daianamezdrea](https://github.com/daianamezdrea))
20+
- Added information about Hiera YAML Lookup; installing a updated version. [\#494](https://github.com/puppetlabs/puppetlabs-kubernetes/pull/494) ([bitvijays](https://github.com/bitvijays))
21+
522
## [v6.0.0](https://github.com/puppetlabs/puppetlabs-kubernetes/tree/v6.0.0) (2021-02-27)
623

724
[Full Changelog](https://github.com/puppetlabs/puppetlabs-kubernetes/compare/v5.5.0...v6.0.0)
@@ -115,7 +132,7 @@ All notable changes to this project will be documented in this file. The format
115132
### Fixed
116133

117134
- Manage front-proxy ca certs - fixes \#275 [\#321](https://github.com/puppetlabs/puppetlabs-kubernetes/pull/321) ([nickperry](https://github.com/nickperry))
118-
- Expose ttl duration parameter [\#313](https://github.com/puppetlabs/puppetlabs-kubernetes/pull/313) ([carabasdaniel](https://github.com/carabasdaniel))
135+
- \(IAC-181\) Expose ttl duration parameter [\#313](https://github.com/puppetlabs/puppetlabs-kubernetes/pull/313) ([carabasdaniel](https://github.com/carabasdaniel))
119136
- make proxy mode configurable [\#297](https://github.com/puppetlabs/puppetlabs-kubernetes/pull/297) ([mrwulf](https://github.com/mrwulf))
120137
- Fixed duplicate tlsBootstrapToken in config\_worker.yaml.erb for kubernetes 1.14 [\#287](https://github.com/puppetlabs/puppetlabs-kubernetes/pull/287) ([Hillkorn](https://github.com/Hillkorn))
121138

@@ -130,10 +147,6 @@ All notable changes to this project will be documented in this file. The format
130147
- Avoid log message about waiting for SA when it already exists [\#278](https://github.com/puppetlabs/puppetlabs-kubernetes/pull/278) ([jorhett](https://github.com/jorhett))
131148
- MODULES-8947 fixing bugs and tests [\#274](https://github.com/puppetlabs/puppetlabs-kubernetes/pull/274) ([sheenaajay](https://github.com/sheenaajay))
132149

133-
### UNCATEGORIZED PRS; LABEL THEM ON GITHUB
134-
135-
- Add kubeadm v1beta1 [\#272](https://github.com/puppetlabs/puppetlabs-kubernetes/pull/272) ([carabasdaniel](https://github.com/carabasdaniel))
136-
137150
# Version 4.0.0
138151

139152
Upgrade tasks for version v1beta1

REFERENCE.md

Lines changed: 192 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,8 @@
560560
### Plans
561561

562562
* [`k8s::deploy`](#k8sdeploy): This plan is meant to create a deployment and a service on Kubernetes To run this plan you will have to enable the anonymous user access to y
563+
* [`kubernetes::provision_cluster`](#kubernetesprovision_cluster): Provisions machines
564+
* [`kubernetes::puppetserver_setup`](#kubernetespuppetserver_setup): Provisions machines
563565

564566
## Classes
565567

@@ -617,6 +619,25 @@ the files if they do not exist.
617619
The URL to download the containerd archive
618620
Defaults to https://github.com/containerd/containerd/releases/download/v${containerd_version}/${containerd_archive}
619621

622+
[*containerd_config_template*]
623+
The template to use for containerd configuration
624+
This value is ignored if containerd_config_source is defined
625+
Default to 'kubernetes/containerd/config.toml.erb'
626+
627+
[*containerd_config_source*]
628+
The source of the containerd configuration
629+
This value overrides containerd_config_template
630+
Default to undef
631+
632+
[*containerd_plugins_registry*]
633+
The configuration for the image registries used by containerd when containerd_install_method is package.
634+
See https://github.com/containerd/containerd/blob/master/docs/cri/registry.md
635+
Defaults to `undef`
636+
637+
[*containerd_default_runtime_name*]
638+
The default runtime to use with containerd
639+
Defaults to runc
640+
620641
[*dns_domain*]
621642
This is a string that sets the dns domain in kubernetes cluster
622643
Default cluster.local
@@ -1066,6 +1087,10 @@ Default to 24h0m0s
10661087
Directory to use when downloading archives for install.
10671088
Default to /var/tmp/puppetlabs-kubernetes
10681089

1090+
[*skip_phases*]
1091+
Allow kubeadm init skip some phases
1092+
Default: none phases skipped
1093+
10691094
Authors
10701095
-------
10711096

@@ -1153,6 +1178,10 @@ The following parameters are available in the `kubernetes` class:
11531178
* [`containerd_archive`](#containerd_archive)
11541179
* [`containerd_archive_checksum`](#containerd_archive_checksum)
11551180
* [`containerd_source`](#containerd_source)
1181+
* [`containerd_config_template`](#containerd_config_template)
1182+
* [`containerd_config_source`](#containerd_config_source)
1183+
* [`containerd_plugins_registry`](#containerd_plugins_registry)
1184+
* [`containerd_default_runtime_name`](#containerd_default_runtime_name)
11561185
* [`etcd_archive`](#etcd_archive)
11571186
* [`etcd_archive_checksum`](#etcd_archive_checksum)
11581187
* [`etcd_package_name`](#etcd_package_name)
@@ -1188,6 +1217,7 @@ The following parameters are available in the `kubernetes` class:
11881217
* [`ignore_preflight_errors`](#ignore_preflight_errors)
11891218
* [`metrics_bind_address`](#metrics_bind_address)
11901219
* [`join_discovery_file`](#join_discovery_file)
1220+
* [`skip_phases`](#skip_phases)
11911221
* [`conntrack_max_per_core`](#conntrack_max_per_core)
11921222
* [`conntrack_min`](#conntrack_min)
11931223
* [`conntrack_tcp_wait_timeout`](#conntrack_tcp_wait_timeout)
@@ -1800,7 +1830,7 @@ Data type: `Optional[String]`
18001830

18011831

18021832

1803-
Default value: `"containerd-${containerd_version}.linux-amd64.tar.gz"`
1833+
Default value: `"containerd-${containerd_version}-linux-amd64.tar.gz"`
18041834

18051835
##### <a name="containerd_archive_checksum"></a>`containerd_archive_checksum`
18061836

@@ -1818,6 +1848,44 @@ Data type: `Optional[String]`
18181848

18191849
Default value: `"https://github.com/containerd/containerd/releases/download/v${containerd_version}/${containerd_archive}"`
18201850

1851+
##### <a name="containerd_config_template"></a>`containerd_config_template`
1852+
1853+
Data type: `String`
1854+
1855+
1856+
1857+
Default value: `'kubernetes/containerd/config.toml.erb'`
1858+
1859+
##### <a name="containerd_config_source"></a>`containerd_config_source`
1860+
1861+
Data type: `Optional[String]`
1862+
1863+
1864+
1865+
Default value: ``undef``
1866+
1867+
##### <a name="containerd_plugins_registry"></a>`containerd_plugins_registry`
1868+
1869+
Data type: `Optional[Hash]`
1870+
1871+
1872+
1873+
Default value: `{
1874+
'docker.io' => {
1875+
'mirrors' => {
1876+
'endpoint' => 'https://registry-1.docker.io'
1877+
},
1878+
},
1879+
}`
1880+
1881+
##### <a name="containerd_default_runtime_name"></a>`containerd_default_runtime_name`
1882+
1883+
Data type: `Enum['runc','nvidia']`
1884+
1885+
1886+
1887+
Default value: `'runc'`
1888+
18211889
##### <a name="etcd_archive"></a>`etcd_archive`
18221890

18231891
Data type: `String`
@@ -2096,6 +2164,14 @@ Data type: `Optional[String]`
20962164

20972165

20982166

2167+
Default value: ``undef``
2168+
2169+
##### <a name="skip_phases"></a>`skip_phases`
2170+
2171+
Data type: `Optional[String]`
2172+
2173+
2174+
20992175
Default value: ``undef``
21002176

21012177
##### <a name="conntrack_max_per_core"></a>`conntrack_max_per_core`
@@ -2153,6 +2229,7 @@ The following parameters are available in the `kubernetes::cluster_roles` class:
21532229
* [`join_discovery_file`](#join_discovery_file)
21542230
* [`ignore_preflight_errors`](#ignore_preflight_errors)
21552231
* [`env`](#env)
2232+
* [`skip_phases`](#skip_phases)
21562233

21572234
##### <a name="controller"></a>`controller`
21582235

@@ -2210,6 +2287,14 @@ Data type: `Optional[Array]`
22102287

22112288
Default value: `$kubernetes::environment`
22122289

2290+
##### <a name="skip_phases"></a>`skip_phases`
2291+
2292+
Data type: `Optional[String]`
2293+
2294+
2295+
2296+
Default value: `$kubernetes::skip_phases`
2297+
22132298
### <a name="kubernetesconfigkubeadm"></a>`kubernetes::config::kubeadm`
22142299

22152300
Class kubernetes config kubeadm, populates kubeadm config file with params to bootstrap cluster
@@ -3128,6 +3213,10 @@ The following parameters are available in the `kubernetes::packages` class:
31283213
* [`containerd_archive`](#containerd_archive)
31293214
* [`containerd_archive_checksum`](#containerd_archive_checksum)
31303215
* [`containerd_source`](#containerd_source)
3216+
* [`containerd_config_template`](#containerd_config_template)
3217+
* [`containerd_config_source`](#containerd_config_source)
3218+
* [`containerd_plugins_registry`](#containerd_plugins_registry)
3219+
* [`containerd_default_runtime_name`](#containerd_default_runtime_name)
31313220
* [`etcd_archive`](#etcd_archive)
31323221
* [`etcd_archive_checksum`](#etcd_archive_checksum)
31333222
* [`etcd_version`](#etcd_version)
@@ -3297,6 +3386,38 @@ Data type: `Optional[String]`
32973386

32983387
Default value: `$kubernetes::containerd_source`
32993388

3389+
##### <a name="containerd_config_template"></a>`containerd_config_template`
3390+
3391+
Data type: `String`
3392+
3393+
3394+
3395+
Default value: `$kubernetes::containerd_config_template`
3396+
3397+
##### <a name="containerd_config_source"></a>`containerd_config_source`
3398+
3399+
Data type: `Optional[String]`
3400+
3401+
3402+
3403+
Default value: `$kubernetes::containerd_config_source`
3404+
3405+
##### <a name="containerd_plugins_registry"></a>`containerd_plugins_registry`
3406+
3407+
Data type: `Optional[Hash]`
3408+
3409+
3410+
3411+
Default value: `$kubernetes::containerd_plugins_registry`
3412+
3413+
##### <a name="containerd_default_runtime_name"></a>`containerd_default_runtime_name`
3414+
3415+
Data type: `Enum['runc','nvidia']`
3416+
3417+
3418+
3419+
Default value: `$kubernetes::containerd_default_runtime_name`
3420+
33003421
##### <a name="etcd_archive"></a>`etcd_archive`
33013422

33023423
Data type: `String`
@@ -3702,6 +3823,7 @@ The following parameters are available in the `kubernetes::kubeadm_init` defined
37023823
* [`path`](#path)
37033824
* [`env`](#env)
37043825
* [`ignore_preflight_errors`](#ignore_preflight_errors)
3826+
* [`skip_phases`](#skip_phases)
37053827

37063828
##### <a name="node_name"></a>`node_name`
37073829

@@ -3751,6 +3873,14 @@ Data type: `Optional[Array]`
37513873

37523874
Default value: `$kubernetes::ignore_preflight_errors`
37533875

3876+
##### <a name="skip_phases"></a>`skip_phases`
3877+
3878+
Data type: `Optional[String]`
3879+
3880+
3881+
3882+
Default value: `$kubernetes::skip_phases`
3883+
37543884
### <a name="kuberneteskubeadm_join"></a>`kubernetes::kubeadm_join`
37553885

37563886
== kubernetes::kubeadm_join
@@ -53511,3 +53641,64 @@ Data type: `String[1]`
5351153641

5351253642

5351353643

53644+
### <a name="kubernetesprovision_cluster"></a>`kubernetes::provision_cluster`
53645+
53646+
Provisions machines for integration testing
53647+
53648+
#### Examples
53649+
53650+
#####
53651+
53652+
```puppet
53653+
kubernetes::provision_cluster
53654+
```
53655+
53656+
#### Parameters
53657+
53658+
The following parameters are available in the `kubernetes::provision_cluster` plan:
53659+
53660+
* [`image_type`](#image_type)
53661+
* [`provision_type`](#provision_type)
53662+
53663+
##### <a name="image_type"></a>`image_type`
53664+
53665+
Data type: `Optional[String]`
53666+
53667+
53668+
53669+
Default value: `'centos-7'`
53670+
53671+
##### <a name="provision_type"></a>`provision_type`
53672+
53673+
Data type: `Optional[String]`
53674+
53675+
53676+
53677+
Default value: `'provision_service'`
53678+
53679+
### <a name="kubernetespuppetserver_setup"></a>`kubernetes::puppetserver_setup`
53680+
53681+
Puppet Server Setup
53682+
53683+
#### Examples
53684+
53685+
#####
53686+
53687+
```puppet
53688+
kubernetes::puppetserver_setup
53689+
```
53690+
53691+
#### Parameters
53692+
53693+
The following parameters are available in the `kubernetes::puppetserver_setup` plan:
53694+
53695+
* [`collection`](#collection)
53696+
53697+
##### <a name="collection"></a>`collection`
53698+
53699+
Data type: `Optional[String]`
53700+
53701+
53702+
53703+
Default value: `'puppet7-nightly'`
53704+

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "puppetlabs-kubernetes",
3-
"version": "6.0.0",
3+
"version": "6.1.0",
44
"author": "puppetlabs",
55
"summary": "The module installs and configures a Kubernetes cluster",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)