From b39490c729b4a0948debaedae6eaf23be57f2673 Mon Sep 17 00:00:00 2001 From: hocine hacherouf Date: Thu, 8 Sep 2022 19:29:21 +0200 Subject: [PATCH] Fix arm deployment without ideas feature #1178 (#1179) --- templates/azuredeploy.json | 8 +++++--- templates/portalDeployWithLoRa.json | 8 +++++--- templates/portalDeployWithoutLoRa.json | 8 +++++--- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/templates/azuredeploy.json b/templates/azuredeploy.json index 20c75e9c4..311272b8d 100644 --- a/templates/azuredeploy.json +++ b/templates/azuredeploy.json @@ -102,21 +102,23 @@ }, "ideasUrl": { "type": "string", + "defaultValue": "", "metadata": { - "description": "Url of Awesome-Ideas, to publish ideas submitted by users" + "description": "Url of Awesome-Ideas, to publish ideas submitted by users. Required when ideasEnabled is true" } }, "ideasAuthenticationHeader": { "type": "string", "defaultValue": "Ocp-Apim-Subscription-Key", "metadata": { - "description": "Authentication header to interact with Awesome-Ideas" + "description": "Authentication header to interact with Awesome-Ideas. Required when ideasEnabled is true" } }, "ideasAuthenticationToken": { "type": "string", + "defaultValue": "", "metadata": { - "description": "Authentication token to interact with Awesome-Ideas" + "description": "Authentication token to interact with Awesome-Ideas. Required when ideasEnabled is true" } } }, diff --git a/templates/portalDeployWithLoRa.json b/templates/portalDeployWithLoRa.json index 76e9d1fac..ed91ec2c0 100644 --- a/templates/portalDeployWithLoRa.json +++ b/templates/portalDeployWithLoRa.json @@ -47,21 +47,23 @@ }, "ideasUrl": { "type": "string", + "defaultValue": "", "metadata": { - "description": "Url of Awesome-Ideas, to publish ideas submitted by users" + "description": "Url of Awesome-Ideas, to publish ideas submitted by users. Required when ideasEnabled is true" } }, "ideasAuthenticationHeader": { "type": "string", "defaultValue": "Ocp-Apim-Subscription-Key", "metadata": { - "description": "Authentication header to interact with Awesome-Ideas" + "description": "Authentication header to interact with Awesome-Ideas. Required when ideasEnabled is true" } }, "ideasAuthenticationToken": { "type": "string", + "defaultValue": "", "metadata": { - "description": "Authentication token to interact with Awesome-Ideas" + "description": "Authentication token to interact with Awesome-Ideas. Required when ideasEnabled is true" } } }, diff --git a/templates/portalDeployWithoutLoRa.json b/templates/portalDeployWithoutLoRa.json index 9984c6587..405f00d5d 100644 --- a/templates/portalDeployWithoutLoRa.json +++ b/templates/portalDeployWithoutLoRa.json @@ -47,21 +47,23 @@ }, "ideasUrl": { "type": "string", + "defaultValue": "", "metadata": { - "description": "Url of Awesome-Ideas, to publish ideas submitted by users" + "description": "Url of Awesome-Ideas, to publish ideas submitted by users. Required when ideasEnabled is true" } }, "ideasAuthenticationHeader": { "type": "string", "defaultValue": "Ocp-Apim-Subscription-Key", "metadata": { - "description": "Authentication header to interact with Awesome-Ideas" + "description": "Authentication header to interact with Awesome-Ideas. Required when ideasEnabled is true" } }, "ideasAuthenticationToken": { "type": "string", + "defaultValue": "", "metadata": { - "description": "Authentication token to interact with Awesome-Ideas" + "description": "Authentication token to interact with Awesome-Ideas. Required when ideasEnabled is true" } } },