From 722583017aeadc64b031e0a291d55d41c5212b25 Mon Sep 17 00:00:00 2001 From: Mateusz Gozdek Date: Fri, 11 Dec 2020 09:43:56 +0100 Subject: [PATCH 1/5] e2e: update Calico chart to latest version Signed-off-by: Mateusz Gozdek --- e2e/main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/main_test.go b/e2e/main_test.go index 52a9b9cb..7a7d94eb 100644 --- a/e2e/main_test.go +++ b/e2e/main_test.go @@ -116,7 +116,7 @@ func defaultE2EConfig(t *testing.T) e2eConfig { }, Calico: chart{ Source: "flexkube/calico", - Version: "0.4.0", + Version: "0.4.2", }, }, } From 63cb01a566632c5b86f169ff9975d6bb17df5e95 Mon Sep 17 00:00:00 2001 From: Mateusz Gozdek Date: Fri, 11 Dec 2020 09:51:56 +0100 Subject: [PATCH 2/5] Update Go version to 1.15.6 Signed-off-by: Mateusz Gozdek --- .travis.yml | 2 +- Dockerfile | 2 +- e2e/Dockerfile | 2 +- integration/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index bac9566a..15942a39 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: go go: - - '1.15.5' + - '1.15.6' - master git: diff --git a/Dockerfile b/Dockerfile index e5813c06..18b4fc47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.15.5-alpine-3.12 +FROM golang:1.15.6-alpine-3.12 # Enable go modules ENV GO111MODULE=on diff --git a/e2e/Dockerfile b/e2e/Dockerfile index 8baf8b59..3a66b7f6 100644 --- a/e2e/Dockerfile +++ b/e2e/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.15.5-alpine3.12 +FROM golang:1.15.6-alpine3.12 RUN apk add -U make bash bash-completion vim coreutils diff --git a/integration/Dockerfile b/integration/Dockerfile index 32d7b88b..53a14fd8 100644 --- a/integration/Dockerfile +++ b/integration/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.15.5-alpine +FROM golang:1.15.6-alpine-3.12 # Install dependencies: # - docker for spawning further Docker containers From b0a9e17909535d6d83241dc01d76d397195f62e0 Mon Sep 17 00:00:00 2001 From: Mateusz Gozdek Date: Fri, 11 Dec 2020 09:54:03 +0100 Subject: [PATCH 3/5] CHANGELOG.md: add v0.5.0 changelog Signed-off-by: Mateusz Gozdek --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3172001a..b07ea396 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,40 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.5.0] - 2020-12-11 + +### Added + +- It is now possible to pass extra flags to kubelet container via 'extraFlags' field in kubelet and pool configuration. + This combined with extra mounts allows to switch kubelet to use containerd as a container runtime instead of now + deprecated Docker. + +### Changed + +- Improved handling situations when node hosting a container is gone. Previously trying to apply configuration + in such situation would result in an error, which forced user to either get a host back or to manually + modify the state to get rid of old container. + + Now, if host cannot be reached and checking hits timeout, obtained error message will be included in the + container state and then user can decide if they want to proceed or not. If container is going to be removed + or replaced then it will simply be ignored and removed from the state. + + This should allow more graceful handling of situations, where automation tools like Terraform removes the VM + running the containers before Flexkube has a chance to clean them up gracefully. + +- Due to Kubernetes version update, controlplane parameter for kube-apiserver 'serviceAccountPublicKey' has been + replaced with 'serviceAccountPrivateKey', as kube-apiserver now requires private key and public key can be + derived from private one. For users using PKI integration, there is no expected changes. + + The same change has been made to kube-apiserver Helm chart, so users should update their values file templates. + +- Default Kubernetes version is now v1.20.0. +- Default HAProxy version is now 2.3.2. +- Default etcd version is now v3.4.14. +- Default Calico version is now v3.17.1. +- Go version used for building the binaries is now 1.15.6. +- Various e2e tests improvements. + ## [0.4.3] - 2020-09-20 ### Fixed From 1bf296a342719c3125fb797774a9748aede27c09 Mon Sep 17 00:00:00 2001 From: Mateusz Gozdek Date: Fri, 11 Dec 2020 09:58:46 +0100 Subject: [PATCH 4/5] cli/flexkube: bump version to v0.5.0 Signed-off-by: Mateusz Gozdek --- cli/flexkube/cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/flexkube/cli.go b/cli/flexkube/cli.go index 24b11659..86ba11ed 100644 --- a/cli/flexkube/cli.go +++ b/cli/flexkube/cli.go @@ -11,7 +11,7 @@ import ( const ( // Version is a version printed by the --version flag. - Version = "v0.4.4-unreleased" + Version = "v0.5.0" // YesFlag is a const for --yes flag. YesFlag = "yes" From 8f720d3ead89226a264a2fbe1ba854b2835cb85f Mon Sep 17 00:00:00 2001 From: Mateusz Gozdek Date: Fri, 11 Dec 2020 09:59:22 +0100 Subject: [PATCH 5/5] cli/flexkube: bump version to v0.5.1-unreleased Signed-off-by: Mateusz Gozdek --- cli/flexkube/cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/flexkube/cli.go b/cli/flexkube/cli.go index 86ba11ed..812ee2bf 100644 --- a/cli/flexkube/cli.go +++ b/cli/flexkube/cli.go @@ -11,7 +11,7 @@ import ( const ( // Version is a version printed by the --version flag. - Version = "v0.5.0" + Version = "v0.5.1-unreleased" // YesFlag is a const for --yes flag. YesFlag = "yes"