openvidu-deployment: azure - changed "defaultName" of PublicIpAddress and changed Action Group name

master
Piwccle 2025-10-15 18:45:25 +02:00
parent 1d4bcdf54f
commit b7e715361e
4 changed files with 17 additions and 15 deletions

View File

@ -945,7 +945,7 @@ var after_installScriptMaster = reduce(
var get_public_ip_script = reduce(
items(stringInterpolationParamsMaster),
{ value: get_public_ip},
{ value: get_public_ip },
(curr, next) => { value: replace(curr.value, '\${${next.key}}', next.value) }
).value
@ -1530,7 +1530,7 @@ module webhookModule '../../shared/webhookdeployment.json' = {
}
resource actionGroupScaleIn 'Microsoft.Insights/actionGroups@2023-01-01' = {
name: 'actiongrouptest'
name: 'actiongroupScaleIn'
location: 'global'
properties: {
groupShortName: 'scaleinag'
@ -1675,9 +1675,11 @@ resource netInterfaceMasterNode 'Microsoft.Network/networkInterfaces@2023-11-01'
id: openviduMasterNodeASG.id
}
]
publicIPAddress: isEmptyIp ? null : {
id: ipNew ? publicIP_OV_ifNew.id : publicIP_OV_ifExisting.id
}
publicIPAddress: isEmptyIp
? null
: {
id: ipNew ? publicIP_OV_ifNew.id : publicIP_OV_ifExisting.id
}
}
}
]

View File

@ -80,7 +80,7 @@
"publicIpAddress": "Previously created Public IP address for the OpenVidu Deployment. Blank will generate a public IP"
},
"defaultValue": {
"publicIpAddressName": "defaultName"
"publicIpAddressName": "ov-publicIpAddress"
},
"options": {
"hideNone": true,

View File

@ -22,8 +22,6 @@ param ownPublicCertificate string = ''
@description('If certificate type is \'owncert\', this parameter will be used to specify the private certificate')
param ownPrivateCertificate string = ''
@description('Name of the PublicIPAddress resource in Azure when using certificateType \'owncert\' or \'letsencrypt\'')
param publicIpAddressObject object
@ -1099,7 +1097,7 @@ var update_config_from_secretScriptMaster = reduce(
var get_public_ip_script = reduce(
items(stringInterpolationParamsMaster1),
{ value: get_public_ip},
{ value: get_public_ip },
(curr, next) => { value: replace(curr.value, '\${${next.key}}', next.value) }
).value
@ -1899,7 +1897,7 @@ module webhookModule '../../shared/webhookdeployment.json' = {
}
resource actionGroupScaleIn 'Microsoft.Insights/actionGroups@2023-01-01' = {
name: 'actiongrouptest'
name: 'actiongroupScaleIn'
location: 'global'
properties: {
groupShortName: 'scaleinag'
@ -1972,7 +1970,7 @@ var lbBackendPoolNameMasterNode = 'LoadBalancerBackEndMasterNode'
var ipExists = publicIpAddressObject.newOrExistingOrNone == 'existing'
resource publicIP_OV_ifExisting'Microsoft.Network/publicIPAddresses@2023-11-01' existing = if (ipExists == true) {
resource publicIP_OV_ifExisting 'Microsoft.Network/publicIPAddresses@2023-11-01' existing = if (ipExists == true) {
name: publicIpAddressObject.name
}
@ -2007,9 +2005,11 @@ resource LoadBalancer 'Microsoft.Network/loadBalancers@2024-05-01' = {
{
name: lbFrontEndName
properties: {
publicIPAddress: isEmptyIp ? null : {
id: ipNew ? publicIP_OV_ifNew.id : publicIP_OV_ifExisting.id
}
publicIPAddress: isEmptyIp
? null
: {
id: ipNew ? publicIP_OV_ifNew.id : publicIP_OV_ifExisting.id
}
}
}
]

View File

@ -80,7 +80,7 @@
"publicIpAddress": "Previously created Public IP address for the OpenVidu Deployment. Blank will generate a public IP"
},
"defaultValue": {
"publicIpAddressName": "defaultName"
"publicIpAddressName": "ov-publicIpAddress"
},
"options": {
"hideNone": true,