v1.5.1
Release 1.5.1
Enhancements and new features
Support upgrades in ManagedOSImage resources
Starting form Elemental Operator v1.5.1 upgrades on ManagedOSImage resources cause an update to the associated Fleet and System Upgrade Controller plans. This allows reusing the same ManagedOSImage resource to upgrade more than once to different versions. With this change keeping a single Upgrade Group which can be updated to rollout new versions as they are available is possible.
Hauler support in airgap helper scripts
Helper scripts for Airgap include support for Hauler.
Machine Inventories are collecting OS data as annotations
MachineInventories are updated with OS specific data on node registration. OSes including elemental-register >= 1.5 include values from /etc/os-release as annotations when registering. This is helpful to track OS specific details such as OS version for each registered node.
Support to build raw disks in SeedImages
SeedImage resources are now capable to build ISO and Raw disks. Raw images can be copied directly to a hard disk and a preinstalled system will directly boot into recovery system to expand and created required partitions and also register the node to the upstream cluster. See SeedImage reference in the documentation.
Fixes
Install or Upgrade
In order to install this release of the Elemental Operator check the project documentation.
For already existing deployments use the following Helm commands to upgrade:
# Install/upgrade the CRDS chart
helm upgrade \
--install -n cattle-elemental-system --create-namespace elemental-operator-crds \
oci://registry.suse.com/rancher/elemental-operator-crds-chart
# Install/upgrade the operator chart
helm upgrade \
--install -n cattle-elemental-system --create-namespace elemental-operator \
oci://registry.suse.com/rancher/elemental-operator-chart
To install or upgrade from the helm chart repository use:
helm repo add elemental-stable https://rancher.github.io/elemental-operator/stable/
and installed or upgraded with
# Install/upgrade the CRDS chart
helm upgrade --install -n cattle-elemental-system --create-namespace \
elemental-operator-crds elemental-stable/elemental-operator-crds
# Install/upgrade the operator chart
helm upgrade --install -n cattle-elemental-system --create-namespace \
elemental-operator elemental-stable/elemental-operator
What's Changed
- Bring your own SeedImage builder by @frelon in #542
- Add slem4r images in channel by @davidcassany in #544
- Keep old output-name by @frelon in #556
- Update google.golang.org/grpc to v1.56.3 by @frelon in #558
- Bump github.com/docker/docker from 20.10.24+incompatible to 24.0.7+incompatible by @dependabot in #560
- ci: fix SeedImage builder used image by @ldevulder in #559
- charts: fix annotations by @fgiudici in #566
- Build raw disk images in SeedImage by @frelon in #557
- Implement picking dynamic installation device by @frelon in #561
- Add missing questions.yaml file by @juadk in #567
- Fix device-selector logic by @frelon in #571
- Add grub package to seedimage built in OBS by @frelon in #568
- Add warning if both device and device-selector set by @frelon in #574
- Unify all chart files under .obs/charfile by @davidcassany in #572
- Make summary start with a capital letter by @davidcassany in #575
- Avoid repeating package name in summary by @davidcassany in #576
- Fix channel sync bug racy symptom by @frelon in #579
- Always pull channel image on channel sync by @davidcassany in #580
- Add disable-boot-entry flag to reset command by @frelon in #581
- Bump golang.org/x/crypto to 0.17.0 by @frelon in #583
- Fix default values in questions.yaml file by @davidcassany in #584
- Add TargetPlatform to SeedImageSpec by @frelon in #585
- Use reset service as raw disk deploy command by @frelon in #586
- Update copyright year (2024) by @frelon in #587
- Restrict package arch to x86_64 and aarch64 by @kkaempf in #588
- Add elemental-seedimage-hooks package by @frelon in #592
- Add hostname to system-data by @frelon in #593
- Charts/Makefile: fix default OS channel repo name by @fgiudici in #594
- hostname: set the hostname on the newer location too by @fgiudici in #602
- Print system architecture by @anmazzotti in #603
- Fix inversed reset options by @anmazzotti in #604
- Update seedimage build-disk command by @frelon in #606
- Do not adopt machineinventories undergoing deletion/reset by @anmazzotti in #605
- Bump github actions by @frelon in #607
- README: drop legacy docs by @fgiudici in #616
- Bump actions/labeler from 4 to 5 by @dependabot in #613
- Make linter happy by @frelon in #621
- Bump actions/dependency-review-action from 2 to 4 by @dependabot in #615
- Bump docker/login-action from 2.1.0 to 3.0.0 by @dependabot in #612
- Bump codecov/codecov-action from 3 to 4 by @dependabot in #614
- Use newer xorriso by @frelon in #624
- SeedImage builder arguments in wrong order by @frelon in #625
- Use go.mod ginkgo version by @frelon in #622
- Use rancher/yip v1.4.10 by @frelon in #626
- Test against k8s v1.27, rancher v2.8.2, and upgrade all test dependendencies by @anmazzotti in #628
- Add dev baseimage build by @anmazzotti in #619
- Update system-upgrade-controller test version by @anmazzotti in #630
- Bump github/codeql-action from 2 to 3 by @dependabot in #632
- Bump golangci/golangci-lint-action from 3 to 4 by @dependabot in #634
- Bump docker/setup-buildx-action from 2.2.1 to 3.0.0 by @dependabot in #633
- Bump docker/build-push-action from 3.2.0 to 5.1.0 by @dependabot in #635
- Recover on syncer pod creation failures by @anmazzotti in #637
- Makefile: fix commit date for local builds by @fgiudici in #631
- Makefile/setup-full-cluster: build seedimage-builder image too by @fgiudici in #639
- Make channel sync more robust by @davidcassany in #638
- Bump go to 1.22 by @anmazzotti in #643
- elemental-register: collect OS data for MachineInventories annotations by @fgiudici in #642
- Requeue reconcile loop for ongoing synchronizations by @davidcassany in #644
- Bump docker/metadata-action from 4.1.1 to 5.5.1 by @dependabot in #645
- Fix channel synchronization by @davidcassany in #648
- [Airgap] add support to Hauler in the airgap script by @fgiudici in #647
- Bump docker/setup-buildx-action from 3.0.0 to 3.1.0 by @dependabot in #650
- [Airgap] fix the airgap script by @fgiudici in #654
- Make snapshotter configurable by @davidcassany in #651
- charts: backport changes from Rancher Marketplace chart by @fgiudici in #652
- Review omitempty flag on API json converter by @davidcassany in #657
- Enable ManagedOSImage updates by @anmazzotti in #658
- Repurpose v1.5.x branch for SLE Micro 5.5 by @davidcassany in #695
New Contributors
Full Changelog: v1.4.3...v1.5.1