mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-03 20:56:06 +08:00
feat: add volume expansion checkbox in storage class configuration (#911)
* feat: add support for volume expansion in storage configuration Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: update volume expansion wording Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: hide checkbox if feature flag is not enabled Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: revert unneeded change Signed-off-by: Andy Lee <andy.lee@suse.com> --------- Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
@@ -72,6 +72,7 @@ const FEATURE_FLAGS = {
|
||||
'v1.9.0': [
|
||||
'supportFilesystem',
|
||||
'disableResourcePooling',
|
||||
'expandOnlineEncryptedVolume'
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
@@ -88,6 +88,8 @@ export const CSI_SECRETS = {
|
||||
CSI_NODE_PUBLISH_SECRET_NAMESPACE: 'csi.storage.k8s.io/node-publish-secret-namespace',
|
||||
CSI_NODE_STAGE_SECRET_NAME: 'csi.storage.k8s.io/node-stage-secret-name',
|
||||
CSI_NODE_STAGE_SECRET_NAMESPACE: 'csi.storage.k8s.io/node-stage-secret-namespace',
|
||||
CSI_NODE_EXPAND_SECRET_NAME: 'csi.storage.k8s.io/node-expand-secret-name',
|
||||
CSI_NODE_EXPAND_SECRET_NAMESPACE: 'csi.storage.k8s.io/node-expand-secret-namespace'
|
||||
};
|
||||
|
||||
// Some harvester CRD type is not equal to model file name, define the mapping here
|
||||
|
||||
Reference in New Issue
Block a user