rancher / elemental-operator

The Elemental operator is responsible for managing the OS versions and maintaining a machine inventory to assist with edge or baremetal installations.
Apache License 2.0
40 stars 17 forks source link

Implement Enabled field on ManagedOSVersionChannels #800

Closed anmazzotti closed 1 month ago

anmazzotti commented 1 month ago

Closes rancher/elemental#1462

This PR introduces a new ManagedOSVersionChannel.spec.enabled flag that can be used to disable a channel. Channels are always enabled by default, so disabling has to be explicit.

Disabling channels will also flag all linked ManagedOSVersions as no longer in sync.

Additionally, if ManagedOSVersionChannel.spec.deleteNoLongerInSyncVersions is true, all linked ManagedOSVersions will be flagged for deletion.