mirror of https://github.com/rancher/ui.git
Add Azure Disk
This commit is contained in:
parent
a3e033af7f
commit
be2ec96f9a
|
|
@ -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,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue