mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 17:23:15 -05:00
DC Create - if direct mode, do not prompt for cluster context (#19956)
* Made kube config and context dependent on direct mode * Make config profile a dropdown * Re enabled config profile Co-authored-by: Candice Ye <canye@microsoft.com>
This commit is contained in:
@@ -170,14 +170,6 @@
|
||||
"sections": [
|
||||
{
|
||||
"fields": [
|
||||
{
|
||||
"type": "kube_cluster_context_picker",
|
||||
"label": "%arc.data.controller.kube.cluster.context%",
|
||||
"required": true,
|
||||
"inputWidth": "350px",
|
||||
"variableName": "AZDATA_NB_VAR_ARC_CLUSTER_CONTEXT",
|
||||
"configFileVariableName": "AZDATA_NB_VAR_ARC_CONFIG_FILE"
|
||||
},
|
||||
{
|
||||
"type": "options",
|
||||
"label": "%arc.data.controller.connectivity.mode%",
|
||||
@@ -191,16 +183,19 @@
|
||||
"defaultValue": "Indirect",
|
||||
"optionsType": "radio"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "%arc.data.controller.cluster.config.profile.title%",
|
||||
"sections": [
|
||||
{
|
||||
"fields": [
|
||||
},
|
||||
{
|
||||
"type": "kube_cluster_context_picker",
|
||||
"label": "%arc.data.controller.kube.cluster.context%",
|
||||
"required": true,
|
||||
"inputWidth": "350px",
|
||||
"variableName": "AZDATA_NB_VAR_ARC_CLUSTER_CONTEXT",
|
||||
"configFileVariableName": "AZDATA_NB_VAR_ARC_CONFIG_FILE",
|
||||
"enabled": {
|
||||
"target": "AZDATA_NB_VAR_ARC_DATA_CONTROLLER_CONNECTIVITY_MODE",
|
||||
"value": "Indirect"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "options",
|
||||
"label": "%arc.data.controller.cluster.config.profile%",
|
||||
@@ -214,7 +209,7 @@
|
||||
"loadingCompletedText": "%arc.data.controller.cluster.config.profile.loadingcompleted%"
|
||||
},
|
||||
"defaultValue": "azure-arc-aks-default-storage",
|
||||
"optionsType": "radio"
|
||||
"optionsType": "dropdown"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user