github.com/rancher/elemental/tests@v0.0.0-20240517125144-ae048c615b3f/assets/upgrade_skel.yaml (about)

     1  apiVersion: elemental.cattle.io/v1beta1
     2  kind: ManagedOSImage
     3  metadata:
     4    name: with-%UPGRADE_TYPE%
     5    # The namespace must match the namespace of the cluster
     6    # assigned to the clusters.provisioning.cattle.io resource
     7    # namespace: fleet-default
     8  spec:
     9    %UPGRADE_TYPE%
    10    clusterTargets:
    11      - clusterName: %CLUSTER_NAME%
    12    upgradeContainer:
    13      envs:
    14        - name: FORCE
    15          value: "%FORCE_DOWNGRADE%"