Skip to content

Commit

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

0 comments on commit 8c8e8e4

Please sign in to comment.