Skip to content

Commit

Permalink
Sets min TLS version on storage account to TLS 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikalai Radchuk committed Sep 9, 2021
1 parent e3cc89f commit 319fa70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/cluster/deploystorage_resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ func (m *manager) storageAccount(name, region string) *arm.Resource {
Sku: &mgmtstorage.Sku{
Name: "Standard_LRS",
},
AccountProperties: &mgmtstorage.AccountProperties{
MinimumTLSVersion: mgmtstorage.TLS12,
},
Name: &name,
Location: &region,
Type: to.StringPtr("Microsoft.Storage/storageAccounts"),
Expand Down

0 comments on commit 319fa70

Please sign in to comment.