Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last minute updates and release v0.5.0 #214

Merged
merged 5 commits into from
Dec 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go

go:
- '1.15.5'
- '1.15.6'
- master

git:
Expand Down
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion cli/flexkube/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

const (
// Version is a version printed by the --version flag.
Version = "v0.4.4-unreleased"
Version = "v0.5.1-unreleased"

// YesFlag is a const for --yes flag.
YesFlag = "yes"
Expand Down
2 changes: 1 addition & 1 deletion e2e/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion e2e/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func defaultE2EConfig(t *testing.T) e2eConfig {
},
Calico: chart{
Source: "flexkube/calico",
Version: "0.4.0",
Version: "0.4.2",
},
},
}
Expand Down
2 changes: 1 addition & 1 deletion integration/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down