Skip to content

v0.2.2

Compare
Choose a tag to compare
@prometherion prometherion released this 01 Aug 17:25
· 112 commits to master since this release

This patch release is required for a reconciliation bug with Kamaji tracked with #39.

Installation

Install the provider by ensuring it is in your ~/.cluster-api/clusterctl.yaml file as follows:

providers:
  - name: "kamaji"
    url: "https://github.com/clastix/cluster-api-control-plane-provider-kamaji/releases/v0.2.2/control-plane-components.yaml"
    type: "ControlPlaneProvider"

Once done, initialize it.

$: clusterctl init --control-plane kamaji
Fetching providers
Skipping installing cert-manager as it is already installed
Installing Provider="control-plane-kamaji" Version="v0.2.2" TargetNamespace="kamaji-system"

Upgrade

You can check the latest available release with clusterctl

$: clusterctl upgrade plan
Checking new release availability...

Latest release available for the v1beta1 API Version of Cluster API (contract):

NAME                    NAMESPACE                            TYPE                     CURRENT VERSION   NEXT VERSION
bootstrap-kubeadm       capi-kubeadm-bootstrap-system        BootstrapProvider        v1.5.0            Already up to date
control-plane-kamaji    kamaji-system                        ControlPlaneProvider     v0.2.0            v0.2.2
control-plane-kubeadm   capi-kubeadm-control-plane-system    ControlPlaneProvider     v1.5.0            Already up to date
cluster-api             capi-system                          CoreProvider             v1.5.0            Already up to date

You can now apply the upgrade by executing the following command:

clusterctl upgrade apply --contract v1beta1

The upgrade can be triggered as follows.

$: clusterctl upgrade apply --control-plane=kamaji-system/kamaji:v0.2.2
Performing upgrade...
Scaling down Provider="control-plane-kamaji" Version="v0.2.1" Namespace="kamaji-system"
Deleting Provider="control-plane-kamaji" Version="v0.2.1" Namespace="kamaji-system"
Installing Provider="control-plane-kamaji" Version="v0.2.2" TargetNamespace="kamaji-system"