Releases: rancher/elemental-operator
v1.4.4
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
v1.3.5
Release v1.3.5
Features and Enhancements
New Helm repository
In addition to the OCI helm chart releases this release includes a helm repository published in github accessible as https://rancher.github.io/elemental-operator/stable
.
New Elemental Teal version
Elemental Operator v1.3.5 default channel includes a new Elemental Teal OS version.
Relevant fixes
- Fixed machine reset feature so the elemental-system-agent is still functional after resetting the machine
- Prevent re-provisioning an already provisioned machine #526
- Prevent generating machine registration configuration without a URL #517
Install or Upgrade
In order to install or upgrade to this release of the Elemental Operator use the following Helm commands:
# 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 #499
- Fix repository url #509
- Publish OBS charts to gh-pages #514
- Ensure Elemental registration data includes the registration URL #517
- Prevent recalling bootstrap.sh on 'systemctl restart elemental-system-agent' #526
Full Changelog: v1.3.4...v1.3.5
v1.3.4
Release v1.3.4
Features and Enhancements
Node reset
Elemental Operator v1.3.4 introduces the machine reset feature. Admins may now delete clusters and allow nodes to be reset and re-registered again within the machine inventory. Resetting a node includes wiping all persistent data and re-deploying the OS of the initial installation, which is kept in recovery partition. For more information on how to use Elemental Operator machine reset, please see the docs.
Added registry template in charts
Elemental Operator v1.3.4 charts allows templating the registry of the referred images. A new registryUrl
value has been added in charts (--set registryUrl=$MY_CUSTOM_REGISTRY:$PORT
) to configure a public or local custom registry.
New Elemental Teal version
Elemental Operator v1.3.4 default channel includes a new Elemental Teal OS version which is new build based on SLE Micro 5.4.
Relevant fixes
- Fixed backup and restore MachineRegistration resources. See #477 and #486
- Fixed deployments with no
cacert
defined in Rancher, add default trusted certificates. See #485
Install or Upgrade
In order to install or upgrade to this release of the Elemental Operator use the following Helm commands:
# 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
What's Changed
- Charts: add template checking CRDs installation by @fgiudici in #466
- Add CONTRIBUTING.md by @kkaempf in #472
- Check for live registration config when no arguments passed by @anmazzotti in #470
- Make explicit elemental-operator image is under l3 support by @davidcassany in #476
- Fix elemental managed label value to match backup operator expectations by @davidcassany in #477
- Improve re-registration by @anmazzotti in #479
- Adapt .spec file to non-SUSE distributions by @kkaempf in #482
- Adds ca-certificates and ca-certificates-mozilla in operator image by @davidcassany in #485
- Recreate service account token secret if missing by @davidcassany in #486
- Drop SLE Micro version from image references by @davidcassany in #480
- Update OBS workflow to the new project setup by @davidcassany in #490
- Remove SLE Micro reference from elemental-operator images by @davidcassany in #491
- Remove custom default config-dir on installation media by @davidcassany in #488
- Allow machines reset by @anmazzotti in #489
- Fixed a typo in the tag version string for elemental-teal-channel in helm by @rdoxenham in #495
- Bump github.com/docker/distribution from 2.8.1+incompatible to 2.8.2+incompatible by @dependabot in #442
- Charts: add registry templating to support Elemental airgap scenarios by @fgiudici in #497
- Add CAPI cluster role to helm chart by @alexander-demicev in #500
- Disable service triggers on staging by @davidcassany in #498
- [v1.3.x] Charts: always use camelCase for values by @fgiudici in #508
Full Changelog: v1.2.5...v1.3.4
New Contributors
- @rdoxenham made their first contribution in #495
v1.3.3
Changelog
- 71aeacb: Revert not-needed marker fix (@anmazzotti)
- 50c461b: Set default spec.config.elemental.reset block for MachineRegistration (@anmazzotti)
- b52ec68: Use elemental-register-reset service (#502) (@anmazzotti)
v1.3.2
Changelog
- f1f3c32: Add CAPI cluster role to helm chart (#500) (@alexander-demicev)
- f6e0a83: Charts: add README (@fgiudici)
- 742b414: Charts: add registry templating for custom airgap (@fgiudici)
- 3ee37b3: Charts: enforce templating on the channel resource (@fgiudici)
- 08934ee: Charts: sync OBS charts (@fgiudici)
- 2f6f9d2: Charts: update rancher annotations (@fgiudici)
- c90c1c8: Disable service triggers on staging (#498) (@davidcassany)
- 75ab143: Makefile: add the REGISTRY_URL var (@fgiudici)
- 4982e05: tests: fix chart workflow (@fgiudici)
- c480bb3: tests: fix e2e workflow (@fgiudici)