Skip to content

Commit 83ee3a4

Browse files
authored
Merge pull request #484 from microsoft/psl-bug-23384
fix: added the allowed methods in backend container for delete team endpoint
2 parents ca3e58f + 1b4a5ca commit 83ee3a4

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

infra/main.bicep

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ param virtualMachineAdminPassword string = newGuid()
116116
param backendContainerRegistryHostname string = 'macaev3tst1acr.azurecr.io'
117117

118118
@description('Optional. The Container Image Name to deploy on the backend.')
119-
param backendContainerImageName string = 'macaebackend'
119+
param backendContainerImageName string = 'macae-backend'
120120

121121
@description('Optional. The Container Image Tag to deploy on the backend.')
122122
param backendContainerImageTag string = 'v3tst1'
@@ -125,7 +125,7 @@ param backendContainerImageTag string = 'v3tst1'
125125
param frontendContainerRegistryHostname string = 'macaev3tst1acr.azurecr.io'
126126

127127
@description('Optional. The Container Image Name to deploy on the frontend.')
128-
param frontendContainerImageName string = 'macaefrontend'
128+
param frontendContainerImageName string = 'macae-frontend'
129129

130130
@description('Optional. The Container Image Tag to deploy on the frontend.')
131131
param frontendContainerImageTag string = 'v3tst1'
@@ -1416,6 +1416,13 @@ module containerApp 'br/public:avm/res/app/container-app:0.18.1' = {
14161416
'https://${webSiteResourceName}.azurewebsites.net'
14171417
'http://${webSiteResourceName}.azurewebsites.net'
14181418
]
1419+
allowedMethods:[
1420+
'GET'
1421+
'POST'
1422+
'PUT'
1423+
'DELETE'
1424+
'OPTIONS'
1425+
]
14191426
}
14201427
// WAF aligned configuration for Scalability
14211428
scaleSettings: {

infra/main_custom.bicep

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ param virtualMachineAdminPassword string = newGuid()
116116
param backendContainerRegistryHostname string = 'macaev3tst1acr.azurecr.io'
117117

118118
@description('Optional. The Container Image Name to deploy on the backend.')
119-
param backendContainerImageName string = 'macaebackend'
119+
param backendContainerImageName string = 'macae-backend'
120120

121121
@description('Optional. The Container Image Tag to deploy on the backend.')
122122
param backendContainerImageTag string = 'v3tst1'
@@ -125,7 +125,7 @@ param backendContainerImageTag string = 'v3tst1'
125125
param frontendContainerRegistryHostname string = 'macaev3tst1acr.azurecr.io'
126126

127127
@description('Optional. The Container Image Name to deploy on the frontend.')
128-
param frontendContainerImageName string = 'macaefrontend'
128+
param frontendContainerImageName string = 'macae-frontend'
129129

130130
@description('Optional. The Container Image Tag to deploy on the frontend.')
131131
param frontendContainerImageTag string = 'v3tst1'
@@ -1440,6 +1440,13 @@ module containerApp 'br/public:avm/res/app/container-app:0.18.1' = {
14401440
'https://${webSiteResourceName}.azurewebsites.net'
14411441
'http://${webSiteResourceName}.azurewebsites.net'
14421442
]
1443+
allowedMethods:[
1444+
'GET'
1445+
'POST'
1446+
'PUT'
1447+
'DELETE'
1448+
'OPTIONS'
1449+
]
14431450
}
14441451
// WAF aligned configuration for Scalability
14451452
scaleSettings: {

0 commit comments

Comments
 (0)