Skip to content

Commit

Permalink
Revert "Remove SkipLinuxAzSecPack from RP and Gateway VMSS"
Browse files Browse the repository at this point in the history
This reverts commit 93c1a03.
  • Loading branch information
tsatam committed Apr 15, 2024
1 parent 50e9285 commit 3a399b0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion pkg/deploy/assets/gateway-production.json
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,9 @@
"name": "[concat('gateway-vmss-', parameters('vmssName'))]",
"type": "Microsoft.Compute/virtualMachineScaleSets",
"location": "[resourceGroup().location]",
"tags": {},
"tags": {
"SkipLinuxAzSecPack": "true"
},
"apiVersion": "2020-12-01",
"dependsOn": [
"[resourceId('Microsoft.Network/loadBalancers', 'gateway-lb-internal')]",
Expand Down
4 changes: 3 additions & 1 deletion pkg/deploy/assets/rp-production.json
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,9 @@
"name": "[concat('rp-vmss-', parameters('vmssName'))]",
"type": "Microsoft.Compute/virtualMachineScaleSets",
"location": "[resourceGroup().location]",
"tags": {},
"tags": {
"SkipLinuxAzSecPack": "true"
},
"apiVersion": "2020-12-01",
"dependsOn": [
"[resourceId('Microsoft.Authorization/roleAssignments', guid(resourceGroup().id, parameters('rpServicePrincipalId'), 'RP / Reader'))]",
Expand Down
4 changes: 3 additions & 1 deletion pkg/deploy/generator/resources_gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ func (g *generator) gatewayVMSS() *arm.Resource {
Tier: to.StringPtr("Standard"),
Capacity: to.Int64Ptr(1339),
},
Tags: map[string]*string{},
Tags: map[string]*string{
"SkipLinuxAzSecPack": to.StringPtr("true"),
},
VirtualMachineScaleSetProperties: &mgmtcompute.VirtualMachineScaleSetProperties{
UpgradePolicy: &mgmtcompute.UpgradePolicy{
Mode: mgmtcompute.UpgradeModeManual,
Expand Down
4 changes: 3 additions & 1 deletion pkg/deploy/generator/resources_rp.go
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,9 @@ func (g *generator) rpVMSS() *arm.Resource {
Tier: to.StringPtr("Standard"),
Capacity: to.Int64Ptr(1338),
},
Tags: map[string]*string{},
Tags: map[string]*string{
"SkipLinuxAzSecPack": to.StringPtr("true"),
},
VirtualMachineScaleSetProperties: &mgmtcompute.VirtualMachineScaleSetProperties{
UpgradePolicy: &mgmtcompute.UpgradePolicy{
Mode: mgmtcompute.UpgradeModeManual,
Expand Down

0 comments on commit 3a399b0

Please sign in to comment.