mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -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": [
|
"sections": [
|
||||||
{
|
{
|
||||||
"fields": [
|
"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",
|
"type": "options",
|
||||||
"label": "%arc.data.controller.connectivity.mode%",
|
"label": "%arc.data.controller.connectivity.mode%",
|
||||||
@@ -191,16 +183,19 @@
|
|||||||
"defaultValue": "Indirect",
|
"defaultValue": "Indirect",
|
||||||
"optionsType": "radio"
|
"optionsType": "radio"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
]
|
{
|
||||||
}
|
"type": "kube_cluster_context_picker",
|
||||||
]
|
"label": "%arc.data.controller.kube.cluster.context%",
|
||||||
},
|
"required": true,
|
||||||
{
|
"inputWidth": "350px",
|
||||||
"title": "%arc.data.controller.cluster.config.profile.title%",
|
"variableName": "AZDATA_NB_VAR_ARC_CLUSTER_CONTEXT",
|
||||||
"sections": [
|
"configFileVariableName": "AZDATA_NB_VAR_ARC_CONFIG_FILE",
|
||||||
{
|
"enabled": {
|
||||||
"fields": [
|
"target": "AZDATA_NB_VAR_ARC_DATA_CONTROLLER_CONNECTIVITY_MODE",
|
||||||
|
"value": "Indirect"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "options",
|
"type": "options",
|
||||||
"label": "%arc.data.controller.cluster.config.profile%",
|
"label": "%arc.data.controller.cluster.config.profile%",
|
||||||
@@ -214,7 +209,7 @@
|
|||||||
"loadingCompletedText": "%arc.data.controller.cluster.config.profile.loadingcompleted%"
|
"loadingCompletedText": "%arc.data.controller.cluster.config.profile.loadingcompleted%"
|
||||||
},
|
},
|
||||||
"defaultValue": "azure-arc-aks-default-storage",
|
"defaultValue": "azure-arc-aks-default-storage",
|
||||||
"optionsType": "radio"
|
"optionsType": "dropdown"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user