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

     1  apiVersion: elemental.cattle.io/v1beta1
     2  kind: MachineRegistration
     3  metadata:
     4    name: dumb-machine-registration
     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    # Labels to be added to the created MachineInventory object
    10    machineInventoryLabels:
    11      dumb-label: dumb-value
    12    # Annotations to be added to the created MachineInventory object
    13    machineInventoryAnnotations: {}
    14    # The config that will be used to provision the node
    15    config:
    16      cloud-config:
    17        users:
    18          - name: root
    19            passwd: dumb-password
    20      elemental:
    21        install:
    22          device: /dev/dumb-device