diff --git a/lib/global-admin/addon/components/driver/driver-azureaks/component.js b/lib/global-admin/addon/components/driver/driver-azureaks/component.js index 61dcf5f53..756fb7905 100644 --- a/lib/global-admin/addon/components/driver/driver-azureaks/component.js +++ b/lib/global-admin/addon/components/driver/driver-azureaks/component.js @@ -40,7 +40,7 @@ export default Component.extend(ACC, { memberConfig: M_CONFIG, primaryResource: alias('cluster'), - config: alias('cluster.azureKubernetesEngineConfig'), + config: alias('cluster.azureKubernetesServiceConfig'), cluster: null, errors: null, @@ -54,10 +54,11 @@ export default Component.extend(ACC, { window.gke = this; - let config = get(this, 'cluster.azureKubernetesEngineConfig'); + let config = get(this, 'cluster.azureKubernetesServiceConfig'); if ( !config ) { config = this.get('globalStore').createRecord({ - type: 'azureKubernetesEngineConfig', + agentPoolName: "rancher", + type: 'azureKubernetesServiceConfig', osDiskSizeGb: 100, adminUsername: 'azureuser', kubernetesVersion: '1.8.1', @@ -66,7 +67,7 @@ export default Component.extend(ACC, { location: 'eastus', }); - set(this, 'cluster.azureKubernetesEngineConfig', config); + set(this, 'cluster.azureKubernetesServiceConfig', config); } }, diff --git a/lib/global-admin/addon/components/driver/driver-azureaks/template.hbs b/lib/global-admin/addon/components/driver/driver-azureaks/template.hbs index 75885a21d..2d0db8fcc 100644 --- a/lib/global-admin/addon/components/driver/driver-azureaks/template.hbs +++ b/lib/global-admin/addon/components/driver/driver-azureaks/template.hbs @@ -27,10 +27,14 @@