DC Create Bug Fix: Cluster Name (#19859)

* Changed namespace to have empty default value. Added cluster name as a field for direct mode. Updated summary page and notebook as necessary.

* Made storage class = default if storage class is undefined

* Moved cluster name before custom location

Co-authored-by: Candice Ye <canye@microsoft.com>
This commit is contained in:
Candice Ye
2022-06-29 10:23:49 -07:00
committed by GitHub
parent 24fc6dce9f
commit 0bf7446af8
3 changed files with 35 additions and 5 deletions

View File

@@ -284,13 +284,14 @@
"description": "%arc.data.controller.namespace.validation.description%"
}
],
"defaultValue": "arc",
"defaultValue": "",
"required": true,
"variableName": "AZDATA_NB_VAR_ARC_DATA_CONTROLLER_NAMESPACE",
"enabled": {
"target": "AZDATA_NB_VAR_ARC_DATA_CONTROLLER_CONNECTIVITY_MODE",
"value": "Indirect"
}
},
"description": "%arc.data.controller.namespace.description%"
},
{
"type": "text",
@@ -328,6 +329,17 @@
"other"
]
},
{
"type": "text",
"label": "%arc.data.controller.cluster.name%",
"description": "%arc.data.controller.cluster.name.description%",
"required": true,
"variableName": "AZDATA_NB_VAR_ARC_DATA_CONTROLLER_CLUSTER_NAME",
"enabled": {
"target": "AZDATA_NB_VAR_ARC_DATA_CONTROLLER_CONNECTIVITY_MODE",
"value": "Direct"
}
},
{
"type": "text",
"label": "%arc.data.controller.custom.location%",
@@ -571,6 +583,12 @@
"isEvaluated": true,
"defaultValue": "$(AZDATA_NB_VAR_ARC_CLUSTER_CONTEXT)"
},
{
"label": "%arc.data.controller.summary.cluster.name%",
"type": "readonly_text",
"isEvaluated": true,
"defaultValue": "$(AZDATA_NB_VAR_ARC_DATA_CONTROLLER_CLUSTER_NAME)"
},
{
"label": "%arc.data.controller.summary.profile%",
"type": "readonly_text",
@@ -618,6 +636,12 @@
"isEvaluated": true,
"defaultValue": "$(AZDATA_NB_VAR_ARC_DATA_CONTROLLER_NAMESPACE)"
},
{
"label": "%arc.data.controller.summary.data.controller.custom.location%",
"type": "readonly_text",
"isEvaluated": true,
"defaultValue": "$(AZDATA_NB_VAR_ARC_DATA_CONTROLLER_CUSTOM_LOCATION)"
},
{
"label": "%arc.data.controller.summary.data.controller.name%",
"type": "readonly_text",