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

pull/856/head
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( var get_public_ip_script = reduce(
items(stringInterpolationParamsMaster), items(stringInterpolationParamsMaster),
{ value: get_public_ip}, { value: get_public_ip },
(curr, next) => { value: replace(curr.value, '\${${next.key}}', next.value) } (curr, next) => { value: replace(curr.value, '\${${next.key}}', next.value) }
).value ).value
@ -1530,7 +1530,7 @@ module webhookModule '../../shared/webhookdeployment.json' = {
} }
resource actionGroupScaleIn 'Microsoft.Insights/actionGroups@2023-01-01' = { resource actionGroupScaleIn 'Microsoft.Insights/actionGroups@2023-01-01' = {
name: 'actiongrouptest' name: 'actiongroupScaleIn'
location: 'global' location: 'global'
properties: { properties: {
groupShortName: 'scaleinag' groupShortName: 'scaleinag'
@ -1675,7 +1675,9 @@ resource netInterfaceMasterNode 'Microsoft.Network/networkInterfaces@2023-11-01'
id: openviduMasterNodeASG.id id: openviduMasterNodeASG.id
} }
] ]
publicIPAddress: isEmptyIp ? null : { publicIPAddress: isEmptyIp
? null
: {
id: ipNew ? publicIP_OV_ifNew.id : publicIP_OV_ifExisting.id 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" "publicIpAddress": "Previously created Public IP address for the OpenVidu Deployment. Blank will generate a public IP"
}, },
"defaultValue": { "defaultValue": {
"publicIpAddressName": "defaultName" "publicIpAddressName": "ov-publicIpAddress"
}, },
"options": { "options": {
"hideNone": true, "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') @description('If certificate type is \'owncert\', this parameter will be used to specify the private certificate')
param ownPrivateCertificate string = '' param ownPrivateCertificate string = ''
@description('Name of the PublicIPAddress resource in Azure when using certificateType \'owncert\' or \'letsencrypt\'') @description('Name of the PublicIPAddress resource in Azure when using certificateType \'owncert\' or \'letsencrypt\'')
param publicIpAddressObject object param publicIpAddressObject object
@ -1099,7 +1097,7 @@ var update_config_from_secretScriptMaster = reduce(
var get_public_ip_script = reduce( var get_public_ip_script = reduce(
items(stringInterpolationParamsMaster1), items(stringInterpolationParamsMaster1),
{ value: get_public_ip}, { value: get_public_ip },
(curr, next) => { value: replace(curr.value, '\${${next.key}}', next.value) } (curr, next) => { value: replace(curr.value, '\${${next.key}}', next.value) }
).value ).value
@ -1899,7 +1897,7 @@ module webhookModule '../../shared/webhookdeployment.json' = {
} }
resource actionGroupScaleIn 'Microsoft.Insights/actionGroups@2023-01-01' = { resource actionGroupScaleIn 'Microsoft.Insights/actionGroups@2023-01-01' = {
name: 'actiongrouptest' name: 'actiongroupScaleIn'
location: 'global' location: 'global'
properties: { properties: {
groupShortName: 'scaleinag' groupShortName: 'scaleinag'
@ -1972,7 +1970,7 @@ var lbBackendPoolNameMasterNode = 'LoadBalancerBackEndMasterNode'
var ipExists = publicIpAddressObject.newOrExistingOrNone == 'existing' 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 name: publicIpAddressObject.name
} }
@ -2007,7 +2005,9 @@ resource LoadBalancer 'Microsoft.Network/loadBalancers@2024-05-01' = {
{ {
name: lbFrontEndName name: lbFrontEndName
properties: { properties: {
publicIPAddress: isEmptyIp ? null : { publicIPAddress: isEmptyIp
? null
: {
id: ipNew ? publicIP_OV_ifNew.id : publicIP_OV_ifExisting.id 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" "publicIpAddress": "Previously created Public IP address for the OpenVidu Deployment. Blank will generate a public IP"
}, },
"defaultValue": { "defaultValue": {
"publicIpAddressName": "defaultName" "publicIpAddressName": "ov-publicIpAddress"
}, },
"options": { "options": {
"hideNone": true, "hideNone": true,