|
55 | 55 | ClassName is the name of the class used when specifying the underlying |
56 | 56 | virtual machine |
57 | 57 | type: string |
| 58 | + crypto: |
| 59 | + description: crypto describes the desired encryption state |
| 60 | + of the VirtualMachine. |
| 61 | + properties: |
| 62 | + encryptionClassName: |
| 63 | + description: |- |
| 64 | + encryptionClassName describes the name of the EncryptionClass resource |
| 65 | + used to encrypt this VM. |
| 66 | +
|
| 67 | + Please note, this field is not required to encrypt the VM. If the |
| 68 | + underlying platform has a default key provider, the VM may still be fully |
| 69 | + or partially encrypted depending on the specified storage and VM classes. |
| 70 | +
|
| 71 | + If there is a default key provider and an encryption storage class is |
| 72 | + selected, the files in the VM's home directory and non-PVC virtual disks |
| 73 | + will be encrypted |
| 74 | +
|
| 75 | + If there is a default key provider and a VM Class with a virtual, trusted |
| 76 | + platform module (vTPM) is selected, the files in the VM's home directory, |
| 77 | + minus any virtual disks, will be encrypted. |
| 78 | +
|
| 79 | + If the underlying vSphere platform does not have a default key provider, |
| 80 | + then this field is required when specifying an encryption storage class |
| 81 | + and/or a VM Class with a vTPM. |
| 82 | +
|
| 83 | + If this field is set, spec.storageClass must use an encryption-enabled |
| 84 | + storage class. |
| 85 | + maxLength: 253 |
| 86 | + type: string |
| 87 | + useDefaultKeyProvider: |
| 88 | + description: |- |
| 89 | + useDefaultKeyProvider describes the desired behavior for when an explicit |
| 90 | + EncryptionClass is not provided. |
| 91 | +
|
| 92 | + When an explicit encryptionClass is not provided and this value is true: |
| 93 | +
|
| 94 | + - Deploying a VirtualMachine with an encryption storage policy or vTPM |
| 95 | + will be encrypted using the default key provider. |
| 96 | +
|
| 97 | + - If a VirtualMachine is not encrypted, uses an encryption storage |
| 98 | + policy or has a virtual, trusted platform module (vTPM), there is a |
| 99 | + default key provider, the VM will be encrypted using the default key |
| 100 | + provider. |
| 101 | +
|
| 102 | + - If a VirtualMachine is encrypted with a provider other than the default |
| 103 | + key provider, the VM will be rekeyed using the default key provider. |
| 104 | +
|
| 105 | + When an explicit EncryptionClass is not provided and this value is false: |
| 106 | +
|
| 107 | + - Deploying a VirtualMachine with an encryption storage policy or vTPM |
| 108 | + will fail. |
| 109 | +
|
| 110 | + - If a VirtualMachine is encrypted with a provider other than the default |
| 111 | + key provider, the VM will be not be rekeyed. |
| 112 | +
|
| 113 | + Please note, this could result in a VirtualMachine that cannot be |
| 114 | + powered on since it is encrypted using a provider or key that may have |
| 115 | + been removed. Without the key, the VM cannot be decrypted and thus |
| 116 | + cannot be powered on. |
| 117 | +
|
| 118 | + Defaults to true if omitted. |
| 119 | + type: boolean |
| 120 | + type: object |
58 | 121 | failureDomain: |
59 | 122 | description: |- |
60 | 123 | FailureDomain is the failure domain the machine will be created in. |
@@ -341,6 +404,16 @@ spec: |
341 | 404 | x-kubernetes-int-or-string: true |
342 | 405 | description: Capacity is the PVC capacity |
343 | 406 | type: object |
| 407 | + encryptionClassName: |
| 408 | + description: |- |
| 409 | + encryptionClassName describes the name of the EncryptionClass resource |
| 410 | + used to encrypt this volume. Defaults to VSphereMachineSpec.Crypto.EncryptionClassName. |
| 411 | +
|
| 412 | + Please note, this field is not required to encrypt the volume. If the |
| 413 | + underlying platform has a default key provider, the volume may still be fully |
| 414 | + or partially encrypted depending on the specified storage. |
| 415 | + maxLength: 253 |
| 416 | + type: string |
344 | 417 | name: |
345 | 418 | description: 'Name is suffix used to name this PVC as: |
346 | 419 | VSphereMachine.Name + "-" + Name' |
|
0 commit comments