Releases: rancher/elemental-operator
v1.6.5
Release 1.6.5
Enhancements and new features
SeedImage resource status now is including the download URL of the generated image and the checksum of the image. This is helpful to verify downloaded content integrity.
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
- [v1.6.x] Add SeedImage.status.checksumURL by @anmazzotti in #828
Full Changelog: v1.6.4...v1.6.5
Release 1.6.4
Release 1.6.4
Enhancements and new features
Adding support for SL Micro
Starting from Elemental Operator v1.6.4 the default channels include SL Micro 6.0 OS images.
Drain nodes by default on upgrade
For simplicity Elemental Operator now drains nodes by default on upgrades as this the common setup in the vast majority of cases.
Channels pointing to specific builds of the OS images
With this new version of Elemental Operator channels refer to specific builds of the OS images. OS images are being rebuild based on SL Micro updates and those new rebuilds are periodically added to the default channel. The default channel will track only three of the most recent rebuilds.
In addition, ManagedOSVersions include a new flag to showcase if that specific version is still listed within the channel. Finally, ManagedOSVersionChannel resources also include a new toggle to remove any ManagedOSVersion that is no longer in sync.
Allow yip configuration syntax
Elemental project relies on yip for the cloud-init style configuration. By default cloud-config
fields in resources used to assume cloud-init syntax was in use, however with the current version it also supports its own format based on yip's syntax.
Fixes:
- Allow dots in the hostnames / MachineInventory names #679
- Added the ability to create a node reset marker for unmanaged hosts #737
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
- Bump docker/build-push-action from 5.1.0 to 5.2.0 by @dependabot in #661
- CI: fix CodeQL test by @fgiudici in #655
- [Airgap] fix the airgap script by @ldevulder in #659
- Drain nodes by default on upgrade by @anmazzotti in #660
- Move to ALP stack by @davidcassany in #667
- Align DrainSpec to system-upgrade-controller defaults by @anmazzotti in #668
- [Airgap] fix "channel.image"/"channel.repository" value in "next steps" by @fgiudici in #665
- [Airgap] fix channel.json extraction by @ldevulder in #669
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 by @dependabot in #674
- Use /run/elemental and elemental- services by @anmazzotti in #675
- New name is elemental-rootfs by @frelon in #676
- Fix ManagedOSImage cloudConfig by @anmazzotti in #671
- Allow dots in the hostnames / MachineInventory names by @fgiudici in #679
- Add extension to seedimage url by @anmazzotti in #682
- Bump docker/build-push-action from 5.2.0 to 5.3.0 by @dependabot in #685
- Bump docker/login-action from 3.0.0 to 3.1.0 by @dependabot in #686
- Bump docker/setup-buildx-action from 3.1.0 to 3.2.0 by @dependabot in #687
- [Airgap] add basic tests for the airgap script by @fgiudici in #678
- Sanitize elemental-operator dependencies by @anmazzotti in #690
- elemental-operator registration cleanups by @fgiudici in #689
- Micro rename by @kkaempf in #684
- chart: add chart name and version to the operator deployment by @fgiudici in #694
- Unit tests: add some more coverage to registration and seedimage API by @fgiudici in #693
- chart: fix label typo by @fgiudici in #696
- [v1.6.x][BACKPORT] seedimage: use ClusterIP Services (#709) by @fgiudici in #713
- [Backport 1.6.x] Add Metadata CRD by @anmazzotti in #717
- chart: add chart name and version to the operator deployment (#694) by @davidcassany in #720
- [v1.6.x][BACKPORT] Added the ability to create a node reset marker for unmanaged hosts (#731) by @rdoxenham in #737
- [ v1.6.x][BACKPORT] register: don't send new Disks and Controllers data by @fgiudici in #742
- (1.6.x Backport) Let elemental-register digest system hardware data by @anmazzotti in #749
- [v1.6.x backport] Flag no longer in sync ManagedOSVersions by @anmazzotti in #752
- [v1.6.x] Update deployment.yaml (#757) by @anmazzotti in #761
- [v1.6.x] Allow yip configs (#751) by @anmazzotti in #762
- [v1.6.x] Use YAML content for Elemental Agent config (#765) by @anmazzotti in #770
- [v1.6.x][BACKPORT] operator: fix ManagedOSVersionChannel sync by @fgiudici in #771
- [v1.6.x][BACKPORT] Ensure re-sync is triggered by @davidcassany in #776
- [v1.6.x] Add managedosversion finalizer (#775 & #784) by @anmazzotti in #782
- [v1.6.x] Add toggle to automatically delete no longer in sync versions (#780) by @anmazzotti in #783
- Backport to v1.6.x by @davidcassany in #796
- [v1.6.x][BACKPORT] register: always register when called by @fgiudici in #816
Full Changelog: v1.5.4...v1.6.4
v1.5.4
Fixes
- A channel synchronization failure causing a pod to fail and restart in a loop #766
What's Changed
- Backport to v1.5.x by @davidcassany in #777
Full Changelog: v1.5.3...v1.5.4
v1.5.3
Enhancements
Add node reset marker for unmanaged hosts instead of attempting to execute a reset. See unmanaged OS docs.
Fixes
A backward incompatibility when attempting to register OS image v2.0.4 against Elemental Operator < 1.5 (#733).
What's Changed
- [v1.5.x][BACKPORT] seedimage: use ClusterIP Services (#709) by @fgiudici in #710
- [v1.5.x][BACKPORT] Added the ability to create a node reset marker for unmanaged hosts (#731) by @rdoxenham in #736
- [ v1.5.x][BACKPORT] register: don't send new Disks and Controllers data by @fgiudici in #743
Full Changelog: v1.5.1...v1.5.3
v1.4.4
Enhancements
Add node reset marker for unmanaged hosts instead of attempting to execute a reset. See unmanaged OS docs.
What's Changed
- [v1.4.x][BACKPORT] Added the ability to create a node reset marker for unmanaged hosts (#731) by @rdoxenham in #735
Full Changelog: v1.4.3...v1.4.4
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 https://github.com/rancher/elemental-operator/pul...
v1.4.3
v1.4.2
Release v1.4.2
Features and Enhancements
Elemental Teal rename to SLE Micro
Elemental Teal
used to be default OS image provided with Elemental project. In this current release there is a rename from Elemental Teal
to SLE Micro
. The OS remains equivalent without further changes than a rename.
In this Elemental Operator v1.4.2 release the default Managed OS versions channel includes a new SLE Micro OS version.
Device selector
In MachineRegistration
resource a new device-selector
field has been included. device-selector
allows to define a criteria to choose the target device to install to. Check MachineRegistration reference docs for all details and options.
Support for air-gapped installations
Air-gap support is now included in the current release and documented in the How to
section of the official documentation.
Elemental installation from the Rancher Marketplace
Elemental also released into the Rancher Marketplace and it can be installed from there as documented in the quickstart guide.
Support for custom hostnames and dhcp provided hostnames
Custom and default hostnames setup has been improved and included in the in the How to
section of the official documentation.
Relevant fixes
- Wrong mapping on reset options when custom reset parameters are in use #604
- Prevent reinstallation of the elemental-operator if there are CRDs pending to be remove by a previous uninstall 5ff509b
- Resync ManagedOSVersions channel on upgrades 64b15a6
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
- Build and publish charts for OBS/IBS artifacts in gh-pages by @davidcassany in #499
- Use elemental-register-reset service by @anmazzotti in #502
- Set default spec.config.elemental.reset block for MachineRegistration by @anmazzotti in #506
- Charts: always use camelCase for values by @fgiudici in #507
- Fix repository url by @davidcassany in #509
- Charts: fix OBS build by @fgiudici in #510
- Apply a regex on tags to match the same criteria as in OBS by @davidcassany in #512
- elemental-airgap: add script to help airgap deployment by @fgiudici in #504
- Publish OBS charts to gh-pages by @davidcassany in #514
- Ensure Elemental registration data includes the registration URL by @davidcassany in #517
- elemental-airgap: add support to OS images by @fgiudici in #518
- make verify: stay on mockgen v0.2.0 by @fgiudici in #523
- register: add no-toolkit CLI option for pre-installed hosts by @hardys in #516
- elemental-airgap: fix automatic image channel name by @fgiudici in #521
- Prevent recalling bootstrap.sh on 'systemctl restart elemental-system-agent' by @davidcassany in #526
- elemental-airgap: fix skipping http/https URLs by @fgiudici in #531
- Sync channel on channel resource updates by @davidcassany in #529
- Improve update events filtering to actually ignore status updates by @davidcassany in #532
- Patch already existing versions on channel sync by @davidcassany in #533
- Disable local plan for elemental-system-agent by @ldevulder in #534
- Fix E2E tests by @ldevulder in #535
- Bump dependencies by @frelon in #540
- bump go to 1.20 or later by @kkaempf in #541
- elemental-airgap: allow to just create the channel by @fgiudici in #548
- Prevent installing if previous CRDs are pending to be removed by @davidcassany in #553
- Remove use of images from quay.io by @davidcassany in #545
- [v1.4.x backport] Allow pre-set hostnames to be used during Elemental registration by @fgiudici in #596
New Contributors
Full Changelog: v1.3.5...v1.4.2
v1.4.1
Full Changelog: v1.4.0...v1.4.1
v1.4.0
What's Changed
- Build and publish charts for OBS/IBS artifacts in gh-pages by @davidcassany in #499
- Use elemental-register-reset service by @anmazzotti in #502
- Set default spec.config.elemental.reset block for MachineRegistration by @anmazzotti in #506
- Charts: always use camelCase for values by @fgiudici in #507
- Fix repository url by @davidcassany in #509
- Charts: fix OBS build by @fgiudici in #510
- Apply a regex on tags to match the same criteria as in OBS by @davidcassany in #512
- elemental-airgap: add script to help airgap deployment by @fgiudici in #504
- Publish OBS charts to gh-pages by @davidcassany in #514
- Ensure Elemental registration data includes the registration URL by @davidcassany in #517
- elemental-airgap: add support to OS images by @fgiudici in #518
- make verify: stay on mockgen v0.2.0 by @fgiudici in #523
- register: add no-toolkit CLI option for pre-installed hosts by @hardys in #516
- elemental-airgap: fix automatic image channel name by @fgiudici in #521
- Prevent recalling bootstrap.sh on 'systemctl restart elemental-system-agent' by @davidcassany in #526
- elemental-airgap: fix skipping http/https URLs by @fgiudici in #531
- Sync channel on channel resource updates by @davidcassany in #529
- Improve update events filtering to actually ignore status updates by @davidcassany in #532
- Patch already existing versions on channel sync by @davidcassany in #533
- Disable local plan for elemental-system-agent by @ldevulder in #534
- Fix E2E tests by @ldevulder in #535
- Bump dependencies by @frelon in #540
- bump go to 1.20 or later by @kkaempf in #541
- elemental-airgap: allow to just create the channel by @fgiudici in #548
- Prevent installing if previous CRDs are pending to be removed by @davidcassany in #553
- Remove use of images from quay.io by @davidcassany in #545
New Contributors
Full Changelog: v1.3.2...v1.4.0