Skip to content

Commit a5bb6b5

Browse files
authored
Merge pull request #26 from invidian/release-v0.6.0
Release v0.6.0
2 parents e2d17cc + 6238e44 commit a5bb6b5

File tree

2 files changed

+14
-61
lines changed

2 files changed

+14
-61
lines changed

CHANGELOG.md

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,60 +5,54 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [0.5.1] - 2021-05-31
9-
8+
## [0.6.0] - 2021-09-02
109
### Changed
10+
- Updated `libflexkube` version to `v.7.0`.
11+
- Updated remaining dependencies to latest versions.
1112

13+
## [0.5.1] - 2021-05-31
14+
### Changed
1215
- Updated `libflexkube` version to `v0.6.0`.
1316
- Updated remaining dependencies to latest versions.
1417

1518
## [0.5.0] - 2021-02-18
16-
1719
### Added
18-
1920
- `flexkube_kubelet` has now `extra_args` argument for extra kubelet arguments.
2021

2122
### Changed
22-
2323
- Updated to `libflexkube` version `v0.5.1`.
2424
- e2e tests are now using `containerd` as container runtime.
2525

2626
## [0.4.1] - 2020-09-20
27-
2827
### Added
29-
3028
- `flexkube_containers` configuration can have now `env` field specified to set environment variables
31-
for containers.
29+
for containers.
3230
- Added configuration for running E2E and local tests.
3331

3432
### Changed
35-
3633
- `libflexkube` has been updated to [v0.4.3](https://github.com/flexkube/libflexkube/releases/tag/v0.4.3).
3734
- Migrated to [Terraform SDK v2](https://www.terraform.io/docs/extend/guides/v2-upgrade-guide.html).
3835
- `flexkube_pki` resource has been rewritten to follow the patterns from other resources. It should no longer report
39-
inconsistent plan issues and should no longer show ambiguous changes.
36+
inconsistent plan issues and should no longer show ambiguous changes.
4037
- All resources will now produce less verbose diff when running `terraform plan` and will show that fields will have
41-
new values computed instead. That should greatly reduce number of issues with inconsistent plan, at the cost of
42-
changes visibility.
38+
new values computed instead. That should greatly reduce number of issues with inconsistent plan, at the cost of
39+
changes visibility.
4340

4441
### Fixed
45-
4642
- `flexkube_helm_release` now validates fields `values` and `kubeconfig` to make sure they contain valid YAML
47-
formatted content, so it does not corrupt the Terraform state, which requires manual interaction to recover from.
43+
formatted content, so it does not corrupt the Terraform state, which requires manual interaction to recover from.
4844
- Added missing documentation to `flexkube_containers` resource for `host` block.
4945
- Adding and removing controller nodes should now work without interruption. Previously, it has been broken because of a bug
50-
in `libflexkube` and `flexkube_pki` and `flexkube_etcd_cluster` resources complaining about the inconsistent plan.
46+
in `libflexkube` and `flexkube_pki` and `flexkube_etcd_cluster` resources complaining about the inconsistent plan.
5147

5248
## [0.4.0] - 2020-08-31
53-
5449
### Added
55-
5650
- Initial release based on [libflexkube v0.4.0](https://github.com/flexkube/libflexkube/releases/tag/v0.4.0).
5751

5852
### Changed
59-
6053
- flexkube_containers: rename 'container' to 'host_configured_container'.
6154

55+
[0.6.0]: https://github.com/flexkube/terraform-provider-flexkube/compare/v0.5.1...v0.6.0
6256
[0.5.1]: https://github.com/flexkube/terraform-provider-flexkube/compare/v0.5.0...v0.5.1
6357
[0.5.0]: https://github.com/flexkube/terraform-provider-flexkube/compare/v0.4.1...v0.5.0
6458
[0.4.1]: https://github.com/flexkube/terraform-provider-flexkube/compare/v0.4.0...v0.4.1

Vagrantfile

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -64,55 +64,14 @@ DNS=8.8.4.4
6464
UseDNS=false
6565
EOF
6666

67-
containerd_config = <<-EOF
68-
# persistent data location
69-
root = \\"/var/lib/containerd\\"
70-
# runtime state information
71-
state = \\"/run/docker/libcontainerd/containerd\\"
72-
# set containerd as a subreaper on linux when it is not running as PID 1
73-
subreaper = true
74-
# set containerd's OOM score
75-
oom_score = -999
76-
# CRI plugin listens on a TCP port by default
77-
disabled_plugins = []
78-
79-
# grpc configuration
80-
[grpc]
81-
address = \\"/run/docker/libcontainerd/docker-containerd.sock\\"
82-
# socket uid
83-
uid = 0
84-
# socket gid
85-
gid = 0
86-
87-
[plugins.linux]
88-
# shim binary name/path
89-
shim = \\"containerd-shim\\"
90-
# runtime binary name/path
91-
runtime = \\"runc\\"
92-
# do not use a shim when starting containers, saves on memory but
93-
# live restore is not supported
94-
no_shim = false
95-
# display shim logs in the containerd daemon's log output
96-
shim_debug = true
97-
EOF
98-
99-
containerd_override = <<-EOF
100-
[Service]
101-
Environment=CONTAINERD_CONFIG=/etc/containerd/config.toml
102-
ExecStart=
103-
ExecStart=/usr/bin/env PATH=\\${TORCX_BINDIR}:\\${PATH} \\${TORCX_BINDIR}/containerd --config \\${CONTAINERD_CONFIG}
104-
EOF
105-
10667
common_provisioning_script = <<-EOF
10768
mkdir -p /etc/systemd/network && echo "#{network_config}" | sudo tee /etc/systemd/network/10-virtualbox.network >/dev/null
108-
mkdir -p /etc/systemd/system/containerd.service.d && echo "#{containerd_override}" | sudo tee /etc/systemd/system/containerd.service.d/10-use-custom-config.conf >/dev/null
109-
mkdir -p /etc/containerd && echo "#{containerd_config}" | sudo tee /etc/containerd/config.toml >/dev/null
11069
sudo systemctl daemon-reload
11170
sudo systemctl enable iptables-store iptables-restore docker containerd systemd-timesyncd
112-
sudo systemctl mask update-engine locksmithd
11371
sudo systemctl stop update-engine locksmithd
72+
sudo systemctl mask update-engine locksmithd
11473
sudo systemctl start docker systemd-timesyncd iptables-store
115-
sudo systemctl restart systemd-networkd containerd
74+
sudo systemctl restart systemd-networkd
11675
EOF
11776

11877
# Controllers.

0 commit comments

Comments
 (0)