From 3f22f2d8a9cd1427aa2ec65f8036c1008cd531b3 Mon Sep 17 00:00:00 2001 From: John Hixson Date: Thu, 10 Feb 2022 17:25:19 -0800 Subject: [PATCH] Azure: Add EncryptionType field to ManagedDiskParameters This allows the type of Azure disk encryption to be specified. --- machine/v1beta1/types_azureprovider.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/machine/v1beta1/types_azureprovider.go b/machine/v1beta1/types_azureprovider.go index 32bc47aaa3c..039a6f9428d 100644 --- a/machine/v1beta1/types_azureprovider.go +++ b/machine/v1beta1/types_azureprovider.go @@ -234,6 +234,10 @@ type ManagedDiskParameters struct { // DiskEncryptionSet is the disk encryption set properties // +optional DiskEncryptionSet *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"` + // EncryptionType is the type of diisk encryption used. + // Possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey', and 'EncryptionAtRestWithPlatformAndCustomerKeys'. + // +optional + EncryptionType string `json:"encryptionType,omitempty"` } // DiskEncryptionSetParameters is the disk encryption set properties