Skip to content

Commit 153a3b2

Browse files
committed
pkg/asset/machines/azure: Don't set disk encryption set to nil
The disk encryption set ID was getting set to nil before being passed to the bootstrap machine struct. Since the managed disk properties is a pointer, it was nil before the manifests were being written to disk. https://issues.redhat.com/browse/OCPBUGS-36302
1 parent 5748014 commit 153a3b2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/asset/machines/azure/azuremachines.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ func GenerateMachines(platform *azure.Platform, pool *types.MachinePool, userDat
184184
})
185185
}
186186

187-
osDisk.ManagedDisk.DiskEncryptionSet = nil
188187
bootstrapAzureMachine := &capz.AzureMachine{
189188
ObjectMeta: metav1.ObjectMeta{
190189
Name: capiutils.GenerateBoostrapMachineName(clusterID),

0 commit comments

Comments
 (0)