From 1df0316db0363b5349bae6a5593a7e1f8a019aa9 Mon Sep 17 00:00:00 2001 From: yairra Date: Thu, 13 Jun 2024 12:08:02 +0300 Subject: [PATCH] Updated ingress --- azure/templates/vwan-managed-app/README.md | 4 +- .../vwan-managed-app/mainTemplate.json | 40 ++++++++++++++++++- 2 files changed, 41 insertions(+), 3 deletions(-) diff --git a/azure/templates/vwan-managed-app/README.md b/azure/templates/vwan-managed-app/README.md index 085e0620..293238e2 100644 --- a/azure/templates/vwan-managed-app/README.md +++ b/azure/templates/vwan-managed-app/README.md @@ -64,8 +64,8 @@ https://management.azure.com/subscriptions/{subscription_id}/providers/Microsoft } ], "availableVersions": [ - "8110.900335.1435", - "8120.900631.1433", + "8110.900335.1522", + "8120.900631.1522", "latest" ], "marketPlaceLink": "https://aka.ms/Checkpointmarketplace", diff --git a/azure/templates/vwan-managed-app/mainTemplate.json b/azure/templates/vwan-managed-app/mainTemplate.json index 71aaa8e4..5b733a83 100644 --- a/azure/templates/vwan-managed-app/mainTemplate.json +++ b/azure/templates/vwan-managed-app/mainTemplate.json @@ -155,7 +155,36 @@ "metadata": { "description": "Managed app resource group Name" } - } + }, + "publicIPIngress": { + "type": "string", + "allowedValues": [ + "no", + "yes" + ], + "defaultValue": "no", + "metadata": { + "description": "Use public IP for ingress traffic" + } + }, + "createNewIPIngress": { + "type": "string", + "allowedValues": [ + "no", + "yes" + ], + "defaultValue": "no", + "metadata": { + "description": "Create new public IP" + } + }, + "ipIngressExistingResourceId": { + "type": "string", + "metadata": { + "description": "The resource id of the public IP" + }, + "defaultValue": "" + } }, "variables": { "managedResourceGroupId": "[concat(subscription().id, '/resourceGroups/', parameters('managedResourceGroupName'))]" @@ -238,6 +267,15 @@ }, "smart1CloudTokenE": { "value": "[parameters('smart1CloudTokenE')]" + }, + "publicIPIngress": { + "value": "[parameters('publicIPIngress')]" + }, + "createNewIPIngress": { + "value": "[parameters('createNewIPIngress')]" + }, + "ipIngressExistingResourceId": { + "value": "[parameters('ipIngressExistingResourceId')]" } } }