Skip to content

Commit

Permalink
Explicitly set encryption Enabled=True on all storage account services
Browse files Browse the repository at this point in the history
This is not strictly necessary, as the Storage API will default these to True.
This change is just to reconcile expected with actual.
  • Loading branch information
tsatam committed Oct 16, 2023
1 parent f62b8fb commit 8f18c4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/cluster/deploybaseresources_additional.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,19 @@ func (m *manager) storageAccount(name, region string, ocpSubnets []string, encry
Services: &mgmtstorage.EncryptionServices{
Blob: &mgmtstorage.EncryptionService{
KeyType: mgmtstorage.KeyTypeAccount,
Enabled: to.BoolPtr(true),
},
File: &mgmtstorage.EncryptionService{
KeyType: mgmtstorage.KeyTypeAccount,
Enabled: to.BoolPtr(true),
},
Table: &mgmtstorage.EncryptionService{
KeyType: mgmtstorage.KeyTypeAccount,
Enabled: to.BoolPtr(true),
},
Queue: &mgmtstorage.EncryptionService{
KeyType: mgmtstorage.KeyTypeAccount,
Enabled: to.BoolPtr(true),
},
},
KeySource: mgmtstorage.KeySourceMicrosoftStorage,
Expand Down

0 comments on commit 8f18c4d

Please sign in to comment.