Skip to content

Commit

Permalink
Merge pull request #3603 from Azure/azoppiserpa/ARO-7791/migrating-pa…
Browse files Browse the repository at this point in the history
…ckage

Making Gateway and RP Managed Boot Diagnostics
  • Loading branch information
hlipsig authored Jun 10, 2024
2 parents 1a7df46 + b2b1882 commit 5fec700
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions pkg/deploy/assets/gateway-production.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,7 @@
},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true,
"storageUri": "[concat('https://', parameters('gatewayStorageAccountDomain'), '/')]"
"enabled": true
}
},
"extensionProfile": {
Expand Down
3 changes: 1 addition & 2 deletions pkg/deploy/assets/rp-production.json
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,7 @@
},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true,
"storageUri": "[concat('https://', parameters('storageAccountDomain'), '/')]"
"enabled": true
}
},
"extensionProfile": {
Expand Down
3 changes: 1 addition & 2 deletions pkg/deploy/generator/resources_gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,7 @@ func (g *generator) gatewayVMSS() *arm.Resource {
},
DiagnosticsProfile: &mgmtcompute.DiagnosticsProfile{
BootDiagnostics: &mgmtcompute.BootDiagnostics{
Enabled: to.BoolPtr(true),
StorageURI: to.StringPtr("[concat('https://', parameters('gatewayStorageAccountDomain'), '/')]"),
Enabled: to.BoolPtr(true),
},
},
},
Expand Down
3 changes: 1 addition & 2 deletions pkg/deploy/generator/resources_rp.go
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,7 @@ func (g *generator) rpVMSS() *arm.Resource {
},
DiagnosticsProfile: &mgmtcompute.DiagnosticsProfile{
BootDiagnostics: &mgmtcompute.BootDiagnostics{
Enabled: to.BoolPtr(true),
StorageURI: to.StringPtr("[concat('https://', parameters('storageAccountDomain'), '/')]"),
Enabled: to.BoolPtr(true),
},
},
},
Expand Down

0 comments on commit 5fec700

Please sign in to comment.