Skip to content

Latest commit

 

History

History
1277 lines (695 loc) · 22.8 KB

CHANGELOG.md

File metadata and controls

1277 lines (695 loc) · 22.8 KB

Changelog

All notable changes to this project will be documented in this file.

Release 0.53.0

Features

  • New class kubeinstall::topolvm::lvmd::decommission - stops, disables and removes the lvmd unit installed by kubeinstall::topolvm::lvmd, and optionally the binary, configuration and socket directory. For a host that has left its Kubernetes cluster and so has no CSI driver left to talk to lvmd, where the daemon otherwise keeps running with no consumer - and, if its metrics listener is wildcard-bound, keeps serving an unauthenticated endpoint on every address the host holds.
  • It does not touch LVM. Volume groups, logical volumes, filesystems and mounts are untouched; lvmd is the means of asking for a volume, not the storage itself. xfsprogs and e2fsprogs are left installed, because anything on the host may depend on them.
  • The unit resource title is shared with the installing class on purpose. Declaring both on one host is a duplicate-declaration failure at catalogue compilation rather than two classes starting and stopping the service in alternate agent runs - the same technique lsys::hardening::nfs uses for Service[rpcbind].

Release 0.52.1

Bugfixes

  • The repository keyring Execs can no longer wedge a host permanently. All four gpg --dearmor invocations now pass --batch --yes.

    The failure mode is worth recording, because nothing about it is obvious from a Puppet report. gpg --dearmor -o FILE opens its output before reading input, so a failed fetch still leaves a zero-byte keyring behind and exits 2. The unless guard then correctly fails on that empty file and re-runs the command - which, without --yes, stops to ask File exists. Overwrite? (y/N) on a stdin Puppet does not provide, and exits non-zero.

    The result is self-sustaining: one network blip breaks the host permanently. Every subsequent run fails identically, the file stays empty, and because these Execs run early and are before => Apt::Source[...], the whole catalogue aborts there - so every unrelated change on that host silently stops converging too.

    Measured on five CEM hosts, where the keyring had been zero bytes since 2025-09-02 and Puppet had been failing on it for a year. With --yes the next run overwrites the empty file and the host repairs itself.

  • The unless guards are deliberately unchanged. gpg already exits 2 on an empty file, so the guards detect the corruption correctly - the defect was only ever in the repair step.

Release 0.52.0

Features

  • New class kubeinstall::repos::cleanup, included from kubeinstall::profile::kubernetes, which removes package repositories this module no longer uses.

    CRI-O used to be packaged in openSUSE's devel:kubic:libcontainers:stable. That project is discontinued; packaging moved to the cri-o project's own repositories, and kubeinstall::repos::crio follows it — isv:/cri-o:/stable from 1.33.0, pkgs.k8s.io from 1.28.2, kubic only in the else branch below that. So every host built when cri-o was older than 1.28.2 still carries the kubic sources while the module declares something else entirely, because Puppet forgets rather than removes.

    ⚠ Not cosmetic: the kubic packages carry epoch 100, deliberately chosen to outrank the distribution's. Epoch dominates Debian version comparison, so 100:2.48-1 beats noble's 1:2.66-5ubuntu2.4 — apt will not replace them, dependencies are satisfied on epoch alone, and one of the packages is libpam-cap, a PAM module. The 22.04 flavour also 404s for 24.04.

    The class removes the sources and the keyring only. Packages already installed from them are deliberately left: downgrading libcap2, libcap2-bin and libpam-cap has to be verified against SSH and systemd before an OS upgrade, which is a gated operation rather than a side effect of tidying apt.

Release 0.51.0

Features

  • Added aursu/restic as a dependency

Backwards-incompatible changes

  • Removed the self-contained kubeinstall::restic install class and the etcd/{restic.env,backup.sh,prune.sh,service,timer}.epp templates
  • Refactored kubeinstall::etcd::backup to delegate all generic restic mechanics (install, repository env/init/prune, backup wrapper, retention, scheduling, locking) to the dedicated aursu/restic module; the etcd snapshot+verify step is now a restic::job pre_command and the snapshot cleanup a post_command. Behaviour (systemd timers, separate prune timer, snapshot→verify→restic→forget→cleanup) is unchanged; the systemd unit names change to restic-backup-etcd.* / restic-prune-etcd.*.

Release 0.50.0

Features

  • Added kubeinstall::restic class to install a pinned restic backup client (self-contained via puppet-archive)
  • Implemented kubeinstall::etcd::backup (replacing the stub) — takes an etcdctl snapshot save, verifies it with etcdutl snapshot status, backs the verified snapshot up into a restic repository, applies retention, and removes the local snapshot; scheduled via systemd timers with a separate prune timer

Bugfixes

Known Issues

Release 0.49.0

Features

  • Extended Kubeinstall::Release to accept the 1.35 and 1.36 minor releases
  • Extended Kubeinstall::Version/Kubeinstall::VersionPrefix EOL patterns to cover 1.31 and 1.32 patch releases
  • Updated active version ranges to 1.33.1-1.33.13, 1.34.1-1.34.9, 1.35.1-1.35.6, and 1.36.1-1.36.2

Bugfixes

Known Issues

Release 0.48.0

Features

  • Updated Kubernetes version from 1.32.3 to 1.34.1
  • Updated Calico version from 3.29.2 to 3.30.4
  • Updated Calico operator version from 1.36.5 to 1.38.7
  • Updated Helm version from 3.17.2 to 3.19.0
  • Updated ArgoCD version from 2.14.6 to 3.1.9
  • Updated TopoLVM lvmd version from 0.36.2 to 0.38.0
  • Enhanced lvmd installation with versioned directory structure
  • Improved lvmd service management with proper file sourcing and notifications

Bugfixes

  • Fixed lvmd binary installation to use versioned directory structure
  • Added proper service notifications for lvmd configuration changes
  • Improved lvmd service dependency management

Known Issues

Release 0.47.1

Features

Bugfixes

  • Fixed CRI socket handling to properly apply unix:// prefix in kubeadm configuration files
  • Reverted socket paths in params.pp to plain paths while ensuring proper prefix application in config and join_config classes

Known Issues

Release 0.47.0

Features

  • Updated kubeadm join configuration to API version v1beta4
  • Enhanced kubeadm join configuration with comprehensive timeout settings
  • Improved CRI socket configuration with proper unix:// prefixes
  • Refactored kubeletExtraArgs from hash to array format for compatibility
  • Added granular timeout configuration for various kubeadm operations (discovery, etcd, kubelet health checks, etc.)

Bugfixes

  • Fixed kubeletExtraArgs format in join configuration for proper YAML structure
  • Updated test expectations to match new array format for kubeletExtraArgs

Known Issues

Release 0.46.11

Features

  • Added support for Calico operator CRDs installation for versions 3.30.0 and above

Bugfixes

Known Issues

Release 0.46.9

Features

  • Added support for Kubernetes 1.34 versions (1.34.0 and 1.34.1)
  • Updated version patterns in Release, Version, and VersionPrefix types to include Kubernetes 1.34

Bugfixes

Known Issues

Release 0.46.8

Features

  • Refactored CRI-O installation logic for new versions
  • Added conditional logic for cri-o-runc package installation (only for versions < 1.28.2)

Bugfixes

Known Issues

Release 0.46.7

Features

  • Updated repository configuration for CRI-O

Bugfixes

Known Issues

Release 0.46.6

Features

  • Added new versions - 1.33.5, 1.32.9 and 1.31.13

Bugfixes

Known Issues

Release 0.46.4

Features

  • Added IP autodetection configuration support for Calico installation

Bugfixes

  • Corrected rescue statement alignment in kubeadm_discovery_certificate_key.rb

Known Issues

Release 0.46.3

Features

  • Restructured CRI-O repository configuration
  • Improved conditional logic for CRI-O package repositories (CentOS/Rocky and Ubuntu)

Bugfixes

  • Fixed Rubocop compliance issues in Ruby code
  • Improved error handling patterns following Ruby best practices

Known Issues

Release 0.46.2

Features

  • Added RSpec tests for Kubeinstall::Version type validation
  • Updated Kubeinstall::Version type to support additional Kubernetes versions:
    • Added support for version 1.30.14, 1.31.12, 1.32.8, 1.33.4

Bugfixes

Known Issues

Release 0.2.1

Features

  • Added Helm client binary installation

Bugfixes

Known Issues

Release 0.2.2

Features

  • Added service_node_port_range parameter for kubeadm init command

Bugfixes

Known Issues

Release 0.2.3

Features

  • Added Docker default bridge network address setup (conform to daemon.json bip parameter)

Bugfixes

Known Issues

Release 0.2.4

Features

  • Added resource for Kubernetes Secret object

Bugfixes

Known Issues

Release 0.3.0

Features

  • Added CRI-O runtime installation

Bugfixes

Known Issues

Release 0.3.1

Features

Bugfixes

  • Switched to Puppet module puppetlabs/helm

Known Issues

Release 0.3.2

Features

Bugfixes

  • Bugfix: helm installation URL

Known Issues

Release 0.3.3

Features

Bugfixes

  • Bugfix: helm installation exec path

Known Issues

Release 0.3.4

Features

Bugfixes

  • Removed Puppet module puppetlabs/helm (no support for Helm 3.0+)

Known Issues

Release 0.3.5

Features

  • Default version upgrade

Bugfixes

  • Added containment for several calsses and resources

Known Issues

Release 0.3.6

Features

Bugfixes

  • Docker decomission before CRI-O setup

Known Issues

Release 0.3.7

Features

  • Added kubeadm reset during Docker decomission

Bugfixes

Known Issues

Release 0.3.8

Features

Bugfixes

  • Drop camptocamp/systemd dependency

Known Issues

Release 0.4.0

Features

  • Updated default versions of all components

Bugfixes

Known Issues

Release 0.5.0

Features

  • Added ability to define StorageClass resource file

Bugfixes

Known Issues

Release 0.6.0

Features

  • Added krew installation
  • Added admin config setup
  • Added bash completion

Bugfixes

Known Issues

Release 0.6.1

Features

Bugfixes

  • Added /usr/local/krew directory management

Known Issues

Release 0.6.2

Features

Bugfixes

  • Added PATH setup to include ~/.krew/bin

Known Issues

Release 0.7.0

Features

  • Added krew plugiin istallation resource
  • Added kubernetes namespace resource (create)

Bugfixes

Known Issues

Release 0.8.0

Features

  • Added kubectl apply resoure

Bugfixes

Known Issues

Release 0.9.0

Features

  • Added ArgoCD installation

Bugfixes

Known Issues

Release 0.9.1

Features

  • Added IPv6 enable/disable feature

Bugfixes

  • Corrected selinux management class

Known Issues

Release 0.9.2

Features

  • Added selinux modes
  • Updated components

Bugfixes

Known Issues

Release 0.10.0

Features

  • Added CRI-O configuration file management with ability to manage selinux flag
  • Updated fixtures and metadata

Bugfixes

  • Bugfix: unit test for updated Docker components

Known Issues

Release 0.10.1

Features

  • Added kubeinstall::node::label to setup node labels
  • Added ability to export node labels resources within cluster

Bugfixes

Known Issues

Release 0.10.3

Features

Bugfixes

  • Bugfix: added class kubeinstall::runtime::crio::config into CRI-O runtime manifest

Known Issues

Release 0.11.0

Features

  • Added kubeinstall::resource::svc to manage Service resource

Bugfixes

Known Issues

Release 0.12.0

Features

  • Added ArgoCD expose service (by default NodePort on port 30200)

Bugfixes

Known Issues

Release 0.12.1

Features

  • Added volume_mode parameter into local PV

Bugfixes

Known Issues

Release 0.13.0

Features

  • Updated kubernetes and components versions

Bugfixes

Known Issues

Release 0.14.0

Features

  • Added Ubuntu support

Bugfixes

Known Issues

Release 0.14.1

Features

Bugfixes

  • Bugfix: krew installation for versions 0.4.2 and greater
  • Bugfix: Apt repositories fix for CRI-O
  • Bugfix: Apt repository fix for K8S
  • Bugfix: K8S installation for Ubuntu when version is not exact

Known Issues

Release 0.15.0

Features

  • Changed default cgroup driver to systemd

Bugfixes

Known Issues

Release 0.15.1

Features

Bugfixes

  • Bugfix: K8S installation for Ubuntu when version is not exact
  • Bugfix: Krew installation on Ubuntu

Known Issues

Release 0.16.0

Features

  • Added ability to activate Cgroup v2

Bugfixes

Known Issues

Release 0.16.1

Features

  • Added task and plan kubeinstall::cgroup2

Bugfixes

Known Issues

Release 0.16.5

Features

  • Added kernel check into kubeinstall::cgroup2 task
  • Added existing kernel parametrs check into kubeinstall::cgroup2 task
  • Added verbosity to kubeinstall::cgroup2 plan
  • Added check if reboot required in kubeinstall::cgroup2 task

Bugfixes

  • Bugfix: resolve error uninitialized constant Puppet::Parameter::Boolean
  • Bugfix: task metadata for task kubeinstall::cgroup2

Known Issues

Release 0.16.7

Features

  • Setup task output as JSON

Bugfixes

  • Bugfix: handle reboot flag properly

Known Issues

Release 0.16.8

Features

Bugfixes

  • Bugfix: repository and package apply sequence

Known Issues

Release 0.17.0

Features

  • Added basic Helm repo and chart management
  • Added Helm completion for bash

Bugfixes

Known Issues

Release 0.17.1

Features

  • Updated default versions of components

Bugfixes

Known Issues

Release 0.17.2

Features

Bugfixes

  • Added /root/.config directory setup

Known Issues

Release 0.17.3

Features

  • Updated default versions of components

Bugfixes

Known Issues

Release 0.17.4

Features

Bugfixes

  • Corrected URL to Calico installation manifest
  • Corrected Yum repo for CentOS 7

Known Issues

Release 0.18.0

Features

  • Added ability to manage grubby
  • Added cgroup2 support for CentOS
  • Added fact kernelentries

Bugfixes

  • Made Git optional

Known Issues

Release 0.18.1

Features

  • Set net.core.somaxconn to default value 4096

Bugfixes

Known Issues

Release 0.18.2

Features

Bugfixes

  • Exclude package kubernetes-cni from update
  • Added --overwrite flag into label node command

Known Issues

Release 0.18.3

Features

Bugfixes

  • Exclude package kubernetes-cni from update
  • Updated fixtures and dependencies

Known Issues

Release 0.18.4

Features

  • Added folder /root/.config/helm/charts for Helm charts configurations
  • Versions upgrade

Bugfixes

Known Issues

Release 0.18.5

Features

  • Defined configuration paths variables into parameters

Bugfixes

Known Issues

Release 0.18.6

Features

Bugfixes

  • Added KUBECONFIG variable into exec resource for helm

Known Issues

Release 0.18.7

Features

Bugfixes

  • Updated fixtures

Known Issues

Release 0.18.8

Features

  • Added kubernetes versions 1.25-1.27

Bugfixes

Known Issues

Release 0.19.0

Features

  • Helm 3.11.3, Calico v3.25.1, ArgoCD 2.6.7

Bugfixes

Known Issues

Release 0.19.3

Features

  • Added ArgoCD CLI installatio into /usr/local/bin/argocd

Bugfixes

  • Exclude package kubernetes-cni from update only for Kubernetes < 1.25.0
  • ArgoCD service for NodePort renamed to argocd-server-static

Known Issues

Release 0.19.4

Features

  • PDK Upgrade to 2.7.1

Bugfixes

Known Issues

Release 0.20.0

Features

  • Added TopoLVM lvmd binary installation

Bugfixes

Known Issues

Release 0.20.1

Features

Bugfixes

  • Fixed puppet lint and rubocop errors

Known Issues

Release 0.20.2

Features

  • Added TopoLVM lvmd config and service

Bugfixes

Known Issues

Release 0.20.3

Features

  • Adjusted lvmd config manifest

Bugfixes

Known Issues

Release 0.20.4

Features

  • Added refreshed ensure flag for APT keys

Bugfixes

  • CRIO: separate version flag for cri-o-runc package

Known Issues

Release 0.20.5

Features

  • CRIO: added support for Ubuntu Apt versions

Bugfixes

Known Issues

Release 0.20.6

Features

  • K8S: refreshed ensure flag for APT keys

Bugfixes

Known Issues

Release 0.21.0

Features

Bugfixes

  • Added fix for removed container-runtime kubelet option
  • Updated kubeadm init and join configuration

Known Issues

Release 0.22.0

Features

  • Added TopoLVM scheduler configuration setup
  • Added kube-scheduler configuration management

Bugfixes

Known Issues

Release 0.22.1

Features

Bugfixes

  • No duplicate entries for TopoLVM inside kube-scheduler config

Known Issues

Release 0.22.7

Features

Bugfixes

  • Removed ConfigMap as kube-scheduler volume
  • Added command to create TopoLVM scheduler diectory recursively
  • Replace existing volumes with defined in Puppet
  • BugFix: incorrect creationTimestamp type

Known Issues

Release 0.23.0

Features

  • Added Calico operator and custom resources

Bugfixes

Known Issues

Release 0.23.1

Features

  • Added xfs/ext4 utilities for nodes with lvmd daemon

Bugfixes

Known Issues

Release 0.24.0

Features

  • PDK upgrade to 3.0.0
  • Added separate class for directory structure setup
  • Added systemd daemon reload from bsys module
  • Increased default Kubernetes version to 1.28.2

Bugfixes

Known Issues

Release 0.25.1

Features

  • Added Bolt plan kubeinstall::setup
  • Added parameter cert_dir

Bugfixes

Known Issues

Release 0.26.2

Features

  • Added class kubeinstall::kubectl::binary for kubectl installation
  • Added sha256sum check for kubectl

Bugfixes

Known Issues

Release 0.27.0

Features

  • Added kube-apiserver, kubectl, kube-controller-manager and kube-scheduler binaries installation

Bugfixes

Known Issues

Release 0.28.0

Features

  • Added 'ClusterRole' and 'ClusterRoleBinding' into kubeinstall::kubectl::apply

Bugfixes

Known Issues

Release 0.29.4

Features

  • Added containerd Kubernetes runtime installation

Bugfixes

  • Bugfix: containerd plan name
  • Bugfix: wrong type name for nerdctl installation
  • Bugfix: sha256 checksum check for nerdctl
  • Bugfix: containerd components archive extract

Known Issues

Release 0.30.3

Features

  • Added CNI plugins bridge and loopback configuration
  • Added containerd service management
  • Added crictl installation
  • Enabled default config.toml setup for containerd

Bugfixes

  • Added containerd service refresh on configuration changes
  • Bugfix: use network configurations instead plugin configurations

Known Issues

Release 0.31.1

Features

  • Added 'kubelet' and 'kube-proxy' Kubernetes components installation

Bugfixes

  • Bugfix: removed duplicate file resource

Known Issues

Release 0.32.1

Features

  • Adjusted components' versions

Bugfixes

  • Bugfix: added flag to allow default namespace

Known Issues

Release 0.33.0

Features

Bugfixes

  • Bugfix: corrected cri-o installation on Ubuntu when version is not set

Known Issues

Release 0.34.1

Features

Bugfixes

  • Bugfix: corrected /etc/containers/policy.json on CentOS 8 Stream

Known Issues

Release 0.35.5

Features

  • Updated packages repos for Kubenetes project and package version for Ubuntu
  • Added version check for Argo CD

Bugfixes

  • Corrected versions for Argo CD and Calico
  • Updated keyring path to /etc/apt/trusted.gpg.d

Known Issues

Release 0.36.2

Features

  • Introduced calico opeator version (current is: 1.30.9)
  • Updated containerd and runc default versions

Bugfixes

  • Corrected path property for each exec with kubectl in command or unless
  • Removed hostname from onlyif condition kubectl get nodes (kubelet could be not installed on control plain)

Known Issues

Release 0.37.0

Features

  • Added ability to remove label from node

Bugfixes

  • Bugfix: change include to contain for calicactl

Known Issues

Release 0.38.4

Features

  • Added ability to setup differet kubeconfig for ArgoCD installation
  • Updated default ArgoCD version to 2.9.3
  • Added port 80 into static ArgoCD servicee

Bugfixes

  • Added separate NodePort port for HTTP service port

Known Issues

Release 0.38.5

Features

  • Added auto-refresh for repo upon changes

Bugfixes

Known Issues

Release 0.39.1

Features

  • Components and versions upgrade

Bugfixes

Known Issues

Release 0.39.3

Features

  • Allow cri-o version be different then kubernetes version

Bugfixes

Known Issues

Release 0.39.4

Features

  • Upgraded default versions of components

Bugfixes

  • Added support of Kubernetes 1.29.x for TopoLVM scheduler config

Known Issues

Release 0.40.0

Features

  • Added PVC resource definition for Persistence volume claims
  • Upgraded default versions of components

Bugfixes

Known Issues

Release 0.40.1

Features

  • Added claimRef into PV resource definition

Bugfixes

  • Fixed unit tests to match new versions of components

Known Issues

Release 0.41.1

Features

  • Replaced selector parameter with match_expressions and match_labels
  • Added exported PVC resources collector into kubeinstall::cluster

Bugfixes

Known Issues

Release 0.43.6

Features

  • Upgraded default versions of components
  • Upgraded cri-o repos
  • Removed CentOS 8 Stream support
  • Rolled back devel:kubic:libcontainers:stable
  • dependencies update

Bugfixes

  • cri-o installation bugfix for packages hosted on pkgs.k8s.io
  • fixed gpg key file name for devel:kubic:libcontainers:stable

Known Issues

Release 0.44.1

Features

  • Made argocd binary available for all users - not just root
  • Upgraded default versions of components
  • Added server type joined_controller

Bugfixes

  • repositories setup for k8s 1.28.x
  • removed join command option --control-plane in favor of config file

Known Issues

Release 0.46.1

Features

  • Added cgroup drive management for crio configuration
  • Added etcdctl tool installation

Bugfixes

  • Added support for the --certificate-key parameter when joining a control plane node
  • Fixed token prefetch behavior in the kubeadm provider for the kubeadm_token Puppet type

Known Issues