Add Azure Disk

This commit is contained in:
loganhz 2018-03-15 15:29:20 +08:00
parent a3e033af7f
commit be2ec96f9a
2 changed files with 18 additions and 3 deletions

View File

@ -2,12 +2,11 @@ import Component from '@ember/component';
import layout from './template';
import StorageClassProvisioner from 'shared/mixins/storage-class-provisioner';
const FIELDS = ['resturl', 'restuser', 'restuserkey',
'secretNamespace', 'secretName', 'clusterid', 'gidMin', 'gidMax', 'volumetype'];
const FIELDS = ['skuName', 'location', 'storageAccount', 'storageaccounttype', 'kind'];
export default Component.extend(StorageClassProvisioner, {
layout,
provisioner: 'cinder',
provisioner: 'azure-disk',
fields: FIELDS,
});

View File

@ -1803,6 +1803,22 @@ cruStorageClass:
cachereservation:
label: Cache Reservation
placeholder: "e.g. 20"
azure-disk:
skuName:
label: Sku Name
placeholder: "e.g. Standard_LRS"
location:
label: Location
placeholder: "e.g. eastus"
storageAccount:
label: Storage Account
placeholder: "e.g. azure_storage_account_name"
storageaccounttype:
label: Storage Account Type
placeholder: "e.g. Standard_LRS"
kind:
label: Kind
placeholder: "e.g. Shared"
quobyte:
quobyteAPIServer:
label: Quobyte API Server