Skip to content

Commit

Permalink
Merge pull request #1548 from edwardchalstrey1/release-v4.1.0
Browse files Browse the repository at this point in the history
Release v4.1.0 cloud init changes
  • Loading branch information
jemrobinson authored Aug 9, 2023
2 parents 6ddee90 + 154a55a commit e38a17f
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion deployment/common/Configuration.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ function Get-ShmConfig {
) # *-jobruntimedata-prod-su1.azure-automation.net
linux = (
@("72.32.157.246", "87.238.57.227", "147.75.85.69", "217.196.149.55") + # apt.postgresql.org
@("91.189.91.38", "91.189.91.39", "185.125.190.36", "185.125.190.39") + # archive.ubuntu.com, changelogs.ubuntu.com, security.ubuntu.com
@("91.189.91.38", "91.189.91.39", "91.189.91.48", "91.189.91.49", "91.189.91.81", "91.189.91.82", "91.189.91.83", "185.125.190.17", "185.125.190.18", "185.125.190.36", "185.125.190.39") + # archive.ubuntu.com, changelogs.ubuntu.com, security.ubuntu.com
$cloudFlareIpAddresses + # database.clamav.net, packages.gitlab.com and qgis.org use Cloudflare
$cloudFrontIpAddresses + # packages.gitlab.com uses Cloudfront to host its Release file
@("104.131.190.124") + # dbeaver.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ disk_setup:

fs_setup:
- device: /dev/disk/azure/scsi1/lun1
partition: 1
partition: auto
filesystem: ext4

mounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ disk_setup:

fs_setup:
- device: /dev/disk/azure/scsi1/lun1
partition: 1
partition: auto
filesystem: ext4

mounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ disk_setup:

fs_setup:
- device: /dev/disk/azure/scsi1/lun1
partition: 1
partition: auto
filesystem: ext4

mounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ disk_setup:

fs_setup:
- device: /dev/disk/azure/scsi1/lun1
partition: 1
partition: auto
filesystem: ext4

mounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ disk_setup:
overwrite: true
fs_setup:
- device: /dev/disk/azure/scsi1/lun1
partition: 1
partition: auto
filesystem: ext4
mounts:
- [/dev/disk/azure/scsi1/lun1-part1, /data, ext4, "defaults,nofail"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ disk_setup:
overwrite: true
fs_setup:
- device: /dev/disk/azure/scsi1/lun1
partition: 1
partition: auto
filesystem: ext4
mounts:
- [/dev/disk/azure/scsi1/lun1-part1, /data, ext4, "defaults,nofail"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ disk_setup:
overwrite: true
fs_setup:
- device: /dev/disk/azure/scsi1/lun1
partition: 1
partition: auto
filesystem: ext4
mounts:
- [/dev/disk/azure/scsi1/lun1-part1, /data, ext4, "defaults,nofail"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ disk_setup:

fs_setup:
- device: /dev/disk/azure/scsi1/lun1
partition: 1
partition: auto
filesystem: ext4

mounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ disk_setup:
fs_setup:
- device: /dev/disk/azure/scsi1/lun1
filesystem: ext4
partition: 1
partition: auto

# Note that we do not include the blobfuse mounts here as these are controlled by systemd
mounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ $null = Set-AzContext -SubscriptionId $config.sre.subscriptionName -ErrorAction
# --------------------------------------
$firewallRules = Get-JsonFromMustacheTemplate -TemplatePath (Join-Path $PSScriptRoot ".." ".." "safe_haven_management_environment" "network_rules" "shm-firewall-rules.json") -Parameters $config.shm -AsHashtable
$allowedFqdns = @($firewallRules.applicationRuleCollections | ForEach-Object { $_.properties.rules.targetFqdns }) +
@(Get-PrivateDnsZones -ResourceGroupName $config.shm.network.vnet.rg -SubscriptionName $config.shm.subscriptionName | ForEach-Object { $_.Name })
@(Get-PrivateDnsZones -ResourceGroupName $config.shm.network.vnet.rg -SubscriptionName $config.shm.subscriptionName | ForEach-Object { $_.Name }) +
@("docker.io")
# List all unique FQDNs
$allowedFqdns = $allowedFqdns |
Where-Object { $_ -notlike "*-sb.servicebus.windows.net" } | # Remove AzureADConnect password reset endpoints
Expand Down

0 comments on commit e38a17f

Please sign in to comment.