mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 09:35:37 -05:00
Feature/cu5 features (#11046)
* openshift bdc target (#10358) * openshift bdc target * openshift bdc target * comments * new ad settings (#10390) * ad settings * comments * bump version requirement (#10587) * fix error * update the notebook description (#10888) * update notebooks
This commit is contained in:
@@ -132,7 +132,9 @@ export class DeployClusterWizardModel extends Model {
|
||||
clusterAdmins: this.getStringValue(VariableNames.ClusterAdmins_VariableName)!,
|
||||
clusterUsers: this.getStringValue(VariableNames.ClusterUsers_VariableName)!,
|
||||
appOwners: this.getStringValue(VariableNames.AppOwners_VariableName),
|
||||
appReaders: this.getStringValue(VariableNames.AppReaders_VariableName)
|
||||
appReaders: this.getStringValue(VariableNames.AppReaders_VariableName),
|
||||
subdomain: this.getStringValue(VariableNames.Subdomain_VariableName),
|
||||
accountPrefix: this.getStringValue(VariableNames.AccountPrefix_VariableName)
|
||||
});
|
||||
}
|
||||
return targetDeploymentProfile;
|
||||
@@ -148,7 +150,10 @@ export class DeployClusterWizardModel extends Model {
|
||||
statements.push(`azure_vm_size = '${this.getStringValue(VariableNames.VMSize_VariableName)}'`);
|
||||
statements.push(`azure_vm_count = '${this.getStringValue(VariableNames.VMCount_VariableName)}'`);
|
||||
statements.push(`aks_cluster_name = '${this.getStringValue(VariableNames.AksName_VariableName)}'`);
|
||||
} else if (this.deploymentTarget === BdcDeploymentType.ExistingAKS || this.deploymentTarget === BdcDeploymentType.ExistingKubeAdm) {
|
||||
} else if (this.deploymentTarget === BdcDeploymentType.ExistingAKS
|
||||
|| this.deploymentTarget === BdcDeploymentType.ExistingKubeAdm
|
||||
|| this.deploymentTarget === BdcDeploymentType.ExistingARO
|
||||
|| this.deploymentTarget === BdcDeploymentType.ExistingOpenShift) {
|
||||
statements.push(`mssql_kube_config_path = '${this.escapeForNotebookCodeCell(this.getStringValue(VariableNames.KubeConfigPath_VariableName)!)}'`);
|
||||
statements.push(`mssql_cluster_context = '${this.getStringValue(VariableNames.ClusterContext_VariableName)}'`);
|
||||
statements.push('os.environ["KUBECONFIG"] = mssql_kube_config_path');
|
||||
|
||||
Reference in New Issue
Block a user