Skip to main content

ManagedOSVersionChannel reference

The ManagedOSVersionChannel resource is responsible of defining OS image channel.

There are several keys that can be configured under a ManagedOSVersionChannel resource spec.

managedosversionchannel-example.yaml
apiVersion: elemental.cattle.io/v1beta1
kind: ManagedOSVersionChannel
metadata:
name: elemental-channel
namespace: fleet-default
spec:
options:
image: registry.suse.com/rancher/elemental-channel:1.4.2
syncInterval: 1h
type: custom

ManagedOSVersionChannelSpec reference​

KeyTypeDefault valueDescription
optionsobjectnullDefines the optional informations that can be added in an OS channel
syncIntervalstring1hDefines when to sync the OS channel
typestringemptyDefines the channel type, only custom is supported now
upgradeContainerobjectnullAn upgrade container that can be defined. See reference
deleteNoLongerInSyncVersionsboolfalseAutomatically delete deprecated OS versions that are no longer included in the channel

upgradeContainer​

This allows to overwrite the default upgrade field of System Upgrade Controller plans (see upgrade compontents) based on this ManagedOSVersion. These keys are translated by the System Upgrade Controller to a Kubernetes container specification. This is the container responsible of running an OS upgrade.