Skip to content

Commit

Permalink
Azure Templates | Add Ingress support for vWAN Managed App
Browse files Browse the repository at this point in the history
  • Loading branch information
chkp-olgami authored Feb 28, 2024
1 parent 69b22f2 commit 2d8f7f0
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 5 deletions.
4 changes: 2 additions & 2 deletions azure/templates/vwan-managed-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,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",
Expand Down
44 changes: 41 additions & 3 deletions azure/templates/vwan-managed-app/mainTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
},
"imageVersion": {
"defaultValue": "8120.900631.1433",
"defaultValue": "8120.900631.1522",
"type": "String",
"metadata": {
"description": "The image version that will be used to deploy the solution. To get the image version, make API call to https://management.azure.com/subscriptions/{subscription_id}/providers/Microsoft.Network/networkVirtualApplianceSkus/checkpoint?api-version=2023-05-01"
Expand Down Expand Up @@ -154,7 +154,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'))]"
Expand All @@ -170,7 +199,7 @@
"name": "vwan-app",
"product": "cp-vwan-managed-app",
"publisher": "checkpoint",
"version": "1.0.8"
"version": "1.0.11"
},
"properties": {
"managedResourceGroupId": "[variables('managedResourceGroupId')]",
Expand Down Expand Up @@ -237,6 +266,15 @@
},
"smart1CloudTokenE": {
"value": "[parameters('smart1CloudTokenE')]"
},
"publicIPIngress": {
"value": "[parameters('publicIPIngress')]"
},
"createNewIPIngress": {
"value": "[parameters('createNewIPIngress')]"
},
"ipIngressExistingResourceId": {
"value": "[parameters('ipIngressExistingResourceId')]"
}
}
}
Expand Down

0 comments on commit 2d8f7f0

Please sign in to comment.