MachineConfigV2MachineConfigV2 is the Schema for the MachineConfigV2s API. Provides a Rancher v2 Machine config v2 resource. This can be used to create Machine Config v2 for Rancher v2 and retrieve their information. This resource is available from Rancher v2.6.0 and above.
TypeMR
Providerprovider-rancher2
Grouprancher.rancher2.m.contrib.crossplane.io
Scopenamespaced
Versionv1

1apiVersion: rancher.rancher2.m.contrib.crossplane.io/v1

2kind: MachineConfigV2

kind
string
metadata
object
spec
object

MachineConfigV2Spec defines the desired state of MachineConfigV2

forProvider
required
object

(No description available)

array

AWS config for the Machine Config V2. Conflicts with azure_config, digitalocean_config, harvester_config, linode_config, openstack_config, google_config and vsphere_config (list maxitems:1)

object

AWS Access Key

key
required
string
name
required
string
ami
string
endpoint
string
kmsKey
string
monitoring
boolean
array

Make the specified port number accessible from the Internet. (list) Make the specified port number accessible from the Internet

region
string
retries
string
rootSize
string
object

AWS Secret Key

key
required
string
name
required
string
array

AWS VPC security group. (list) AWS VPC security group

object

AWS Session Token (string) AWS Session Token

key
required
string
name
required
string
spotPrice
string
object

SSH Key for Instance (string) SSH Key file contents for sshKeyContents

key
required
string
name
required
string
sshUser
string
subnetId
string
tags
string
userdata
string
vpcId
string
zone
string
array

Azure config for the Machine Config V2. Conflicts with amazonec2_config, digitalocean_config, harvester_config, linode_config, openstack_config, google_config and vsphere_config (list maxitems:1)

object

Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2_cloud_credential from Rancher v2.2.x (string) Azure Service Principal Account ID (optional, browser auth is used if not specified)

key
required
string
name
required
string
object

Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2_cloud_credential from Rancher v2.2.x (string) Azure Service Principal Account password (optional, browser auth is used if not specified)

key
required
string
name
required
string
diskSize
string
dns
string
image
string
location
string
noPublicIp
boolean
nsg
string
array

Make the specified port number accessible from the Internet. (list) Make the specified port number accessible from the Internet

size
string
sshUser
string
subnet
string
object

Azure Subscription ID. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2_cloud_credential from Rancher v2.2.x (string) Azure Subscription ID

key
required
string
name
required
string
tags
string
object

Azure Tenant ID (string) Azure Tenant ID

key
required
string
name
required
string
vnet
string
array

Digitalocean config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, harvester_config, linode_config, openstack_config, google_config and vsphere_config (list maxitems:1)

object

Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2_cloud_credential from Rancher v2.2.x (string) Digital Ocean access token

key
required
string
name
required
string
backups
boolean
image
string
ipv6
boolean
monitoring
boolean
region
string
size
string
object

SSH Key for Instance (string) SSH private key contents

key
required
string
name
required
string
object

SSH key fingerprint (string) SSH key fingerprint

key
required
string
name
required
string
sshPort
string
sshUser
string
tags
string
userdata
string
array

Google config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)

address
string
object

GCE service account auth json file path. Use rancher2_cloud_credential from Rancher v2.2.x. (string) GCE service account auth json file path

key
required
string
name
required
string
diskSize
string
diskType
string
network
string
array

Make the specified port number accessible from the Internet. (list) A list of ports to be opened publicly. 'external_firewall_rule_prefix' must also be set

project
string
scopes
string
tags
string
userData
string
username
string
vmLabels
string
zone
string
array

Harvester config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, linode_config, openstack_config, google_config and vsphere_config (list maxitems:1)

cpuCount
string
diskBus
string
diskInfo
string
diskSize
string
imageName
string
object

SSH password (string) SSH password

key
required
string
name
required
string
sshUser
string
userData
string
labels
object
array

Linode config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, openstack_config, google_config and vsphere_config (list maxitems:1)

image
string
label
string
region
string
object

Root Password (string) Root Password

key
required
string
name
required
string
sshPort
string
sshUser
string
swapSize
string
tags
string
object

Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2_cloud_credential from Rancher v2.2.x (string) Linode API Token

key
required
string
name
required
string
uaPrefix
string
array

Openstack config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config, google_config and vsphere_config (list maxitems:1)

object

OpenStack application credential secret (string)

key
required
string
name
required
string
authUrl
string
cacert
string
domainId
string
flavorId
string
imageId
string
imageName
string
insecure
boolean
ipVersion
string
netId
string
netName
string
object

OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2_cloud_credential from Rancher v2.2.x (string)

key
required
string
name
required
string
object

Private key content to use for SSH (string)

key
required
string
name
required
string
region
string
secGroups
string
sshPort
string
sshUser
string
tenantId
string
username
string
volumeId
string
array

vSphere config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config, google_config and openstack_config (list maxitems:1)

array

vSphere vm configuration parameters (used for guestinfo) (list) vSphere vm configuration parameters (used for guestinfo)

cloneFrom
string
cloudinit
string
cpuCount
string
array

vSphere custom attributes, format key/value e.g. 200=my custom value (List) vSphere custom attributes, format key/value e.g. '200=my custom value'

datastore
string
diskSize
string
folder
string
network
array

vSphere network where the docker VM will be attached (list) vSphere network where the virtual machine will be attached

os
string
object

OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2_cloud_credential from Rancher v2.2.x (string) vSphere password

key
required
string
name
required
string
pool
string
object

SSH password (string) If using a non-B2D image you can specify the ssh password

key
required
string
name
required
string
sshPort
string
sshUser
string
tags
array

AWS Tags (e.g. key1,value1,key2,value2) (string) vSphere tags id e.g. urn:xxx

username
string
array

vSphere vApp properties (list) vSphere vApp properties

vcenter
string
object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

array

AWS config for the Machine Config V2. Conflicts with azure_config, digitalocean_config, harvester_config, linode_config, openstack_config, google_config and vsphere_config (list maxitems:1)

object

AWS Access Key

key
required
string
name
required
string
ami
string
endpoint
string
kmsKey
string
monitoring
boolean
array

Make the specified port number accessible from the Internet. (list) Make the specified port number accessible from the Internet

region
string
retries
string
rootSize
string
object

AWS Secret Key

key
required
string
name
required
string
array

AWS VPC security group. (list) AWS VPC security group

object

AWS Session Token (string) AWS Session Token

key
required
string
name
required
string
spotPrice
string
object

SSH Key for Instance (string) SSH Key file contents for sshKeyContents

key
required
string
name
required
string
sshUser
string
subnetId
string
tags
string
userdata
string
vpcId
string
zone
string
array

Azure config for the Machine Config V2. Conflicts with amazonec2_config, digitalocean_config, harvester_config, linode_config, openstack_config, google_config and vsphere_config (list maxitems:1)

object

Azure Service Principal Account ID. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2_cloud_credential from Rancher v2.2.x (string) Azure Service Principal Account ID (optional, browser auth is used if not specified)

key
required
string
name
required
string
object

Azure Service Principal Account password. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2_cloud_credential from Rancher v2.2.x (string) Azure Service Principal Account password (optional, browser auth is used if not specified)

key
required
string
name
required
string
diskSize
string
dns
string
image
string
location
string
noPublicIp
boolean
nsg
string
array

Make the specified port number accessible from the Internet. (list) Make the specified port number accessible from the Internet

size
string
sshUser
string
subnet
string
object

Azure Subscription ID. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2_cloud_credential from Rancher v2.2.x (string) Azure Subscription ID

key
required
string
name
required
string
tags
string
object

Azure Tenant ID (string) Azure Tenant ID

key
required
string
name
required
string
vnet
string
array

Digitalocean config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, harvester_config, linode_config, openstack_config, google_config and vsphere_config (list maxitems:1)

object

Digital Ocean access token. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2_cloud_credential from Rancher v2.2.x (string) Digital Ocean access token

key
required
string
name
required
string
backups
boolean
image
string
ipv6
boolean
monitoring
boolean
region
string
size
string
object

SSH Key for Instance (string) SSH private key contents

key
required
string
name
required
string
object

SSH key fingerprint (string) SSH key fingerprint

key
required
string
name
required
string
sshPort
string
sshUser
string
tags
string
userdata
string
array

Google config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)

address
string
object

GCE service account auth json file path. Use rancher2_cloud_credential from Rancher v2.2.x. (string) GCE service account auth json file path

key
required
string
name
required
string
diskSize
string
diskType
string
network
string
array

Make the specified port number accessible from the Internet. (list) A list of ports to be opened publicly. 'external_firewall_rule_prefix' must also be set

project
string
scopes
string
tags
string
userData
string
username
string
vmLabels
string
zone
string
array

Harvester config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, linode_config, openstack_config, google_config and vsphere_config (list maxitems:1)

cpuCount
string
diskBus
string
diskInfo
string
diskSize
string
imageName
string
object

SSH password (string) SSH password

key
required
string
name
required
string
sshUser
string
userData
string
labels
object
array

Linode config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, openstack_config, google_config and vsphere_config (list maxitems:1)

image
string
label
string
region
string
object

Root Password (string) Root Password

key
required
string
name
required
string
sshPort
string
sshUser
string
swapSize
string
tags
string
object

Linode API token. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2_cloud_credential from Rancher v2.2.x (string) Linode API Token

key
required
string
name
required
string
uaPrefix
string
array

Openstack config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config, google_config and vsphere_config (list maxitems:1)

object

OpenStack application credential secret (string)

key
required
string
name
required
string
authUrl
string
cacert
string
domainId
string
flavorId
string
imageId
string
imageName
string
insecure
boolean
ipVersion
string
netId
string
netName
string
object

OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2_cloud_credential from Rancher v2.2.x (string)

key
required
string
name
required
string
object

Private key content to use for SSH (string)

key
required
string
name
required
string
region
string
secGroups
string
sshPort
string
sshUser
string
tenantId
string
username
string
volumeId
string
array

vSphere config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config, google_config and openstack_config (list maxitems:1)

array

vSphere vm configuration parameters (used for guestinfo) (list) vSphere vm configuration parameters (used for guestinfo)

cloneFrom
string
cloudinit
string
cpuCount
string
array

vSphere custom attributes, format key/value e.g. 200=my custom value (List) vSphere custom attributes, format key/value e.g. '200=my custom value'

datastore
string
diskSize
string
folder
string
network
array

vSphere network where the docker VM will be attached (list) vSphere network where the virtual machine will be attached

os
string
object

OpenStack password. Mandatory on Rancher v2.0.x and v2.1.x. Use rancher2_cloud_credential from Rancher v2.2.x (string) vSphere password

key
required
string
name
required
string
pool
string
object

SSH password (string) If using a non-B2D image you can specify the ssh password

key
required
string
name
required
string
sshPort
string
sshUser
string
tags
array

AWS Tags (e.g. key1,value1,key2,value2) (string) vSphere tags id e.g. urn:xxx

username
string
array

vSphere vApp properties (list) vSphere vApp properties

vcenter
string
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

kind
required
string
name
required
string
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

name
required
string
status
object

MachineConfigV2Status defines the observed state of MachineConfigV2.

object

(No description available)

array

AWS config for the Machine Config V2. Conflicts with azure_config, digitalocean_config, harvester_config, linode_config, openstack_config, google_config and vsphere_config (list maxitems:1)

ami
string
endpoint
string
kmsKey
string
monitoring
boolean
array

Make the specified port number accessible from the Internet. (list) Make the specified port number accessible from the Internet

region
string
retries
string
rootSize
string
array

AWS VPC security group. (list) AWS VPC security group

spotPrice
string
sshUser
string
subnetId
string
tags
string
userdata
string
vpcId
string
zone
string
array

Azure config for the Machine Config V2. Conflicts with amazonec2_config, digitalocean_config, harvester_config, linode_config, openstack_config, google_config and vsphere_config (list maxitems:1)

diskSize
string
dns
string
image
string
location
string
noPublicIp
boolean
nsg
string
array

Make the specified port number accessible from the Internet. (list) Make the specified port number accessible from the Internet

size
string
sshUser
string
subnet
string
tags
string
vnet
string
array

Digitalocean config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, harvester_config, linode_config, openstack_config, google_config and vsphere_config (list maxitems:1)

backups
boolean
image
string
ipv6
boolean
monitoring
boolean
region
string
size
string
sshPort
string
sshUser
string
tags
string
userdata
string
array

Google config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config, openstack_config and vsphere_config (list maxitems:1)

address
string
diskSize
string
diskType
string
network
string
array

Make the specified port number accessible from the Internet. (list) A list of ports to be opened publicly. 'external_firewall_rule_prefix' must also be set

project
string
scopes
string
tags
string
userData
string
username
string
vmLabels
string
zone
string
array

Harvester config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, linode_config, openstack_config, google_config and vsphere_config (list maxitems:1)

id
string
kind
string
labels
object
array

Linode config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, openstack_config, google_config and vsphere_config (list maxitems:1)

name
string
array

Openstack config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config, google_config and vsphere_config (list maxitems:1)

array

vSphere config for the Machine Config V2. Conflicts with amazonec2_config, azure_config, digitalocean_config, harvester_config, linode_config, google_config and openstack_config (list maxitems:1)

array

vSphere vm configuration parameters (used for guestinfo) (list) vSphere vm configuration parameters (used for guestinfo)

cloneFrom
string
cloudinit
string
cpuCount
string
array

vSphere custom attributes, format key/value e.g. 200=my custom value (List) vSphere custom attributes, format key/value e.g. '200=my custom value'

datastore
string
diskSize
string
folder
string
network
array

vSphere network where the docker VM will be attached (list) vSphere network where the virtual machine will be attached

os
string
pool
string
sshPort
string
sshUser
string
tags
array

AWS Tags (e.g. key1,value1,key2,value2) (string) vSphere tags id e.g. urn:xxx

username
string
array

vSphere vApp properties (list) vSphere vApp properties

vcenter
string
array

Conditions of the resource.

lastTransitionTime
required
string
message
string
reason
required
string
status
required
string
type
required
string