What feature you'd like to add:
请问是否可以让当使用 ThinRuntimeProfile 这种第三方挂载方式的时候,Dataset 的 spec.mounts 支持传个空数组?
Dataset CRD can support passing an empty list for spec.mounts in the ThinRuntimeProfile scenario. Like this:
apiVersion: data.fluid.io/v1alpha1
kind: Dataset
metadata:
name: aaa
namespace: bbb
spec:
mounts: []
Why is this feature needed:
在我的场景下,我希望使用 ThinRuntimeProfile 接入带有一些自定义功能的第三方存储系统。其中有个功能是动态挂载数据集,但是动态挂载时候用户有可能将所有的数据集全部卸载掉,此时将没有任何的 mountPoint,但是目前 Dataset 不支持空 mounts,因此希望 Dataset 允许传入空数组,以便在第三方的 ThinRuntimeProfile 的镜像中自己根据挂载点是不是空做不同的处理:

In my scenario, I hope to use ThinRuntimeProfile to achieve features like dynamically mounting datasets. However, sometimes the user may unmount all of the datasets, resulting in no mountPoint. Therefore, I hope Dataset can support passing an empty list for Dataset.spec.mounts, so that it can handle the empty mounts situation specially in ThinRuntimeProfile image.
What feature you'd like to add:
请问是否可以让当使用
ThinRuntimeProfile这种第三方挂载方式的时候,Dataset 的spec.mounts支持传个空数组?Dataset CRD can support passing an empty list for
spec.mountsin theThinRuntimeProfilescenario. Like this:Why is this feature needed:

在我的场景下,我希望使用
ThinRuntimeProfile接入带有一些自定义功能的第三方存储系统。其中有个功能是动态挂载数据集,但是动态挂载时候用户有可能将所有的数据集全部卸载掉,此时将没有任何的mountPoint,但是目前 Dataset 不支持空mounts,因此希望Dataset允许传入空数组,以便在第三方的 ThinRuntimeProfile 的镜像中自己根据挂载点是不是空做不同的处理:In my scenario, I hope to use
ThinRuntimeProfileto achieve features like dynamically mounting datasets. However, sometimes the user may unmount all of the datasets, resulting in no mountPoint. Therefore, I hopeDatasetcan support passing an empty list forDataset.spec.mounts, so that it can handle the empty mounts situation specially in ThinRuntimeProfile image.