elemental-docs/versioned_docs/version-1.6/managedosversionchannel-ref...

2.4 KiB

sidebar_label title
ManagedOSVersionChannel reference
<head> </head>

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.

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

Key Type Default value Description
options object null Defines the optional information that can be added in an OS channel
syncInterval string 1h Defines when to sync the OS channel
type string empty Defines the channel type, only custom is supported now
upgradeContainer object null An upgrade container that can be defined. See reference
deleteNoLongerInSyncVersions bool false Automatically delete deprecated OS versions that are no longer included in the channel
enabled bool true Enables this channel. Allowing syncing of OS versions.

upgradeContainer

This allows to overwrite the default upgrade field of System Upgrade Controller plans (see upgrade components) 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.