deploy: add RadosNamespace field for CephFS

This change introduces a `RadosNamespace` field to the CephFS struct.
The RadosNamespace field specifies the RADOS namespace for storing
the omap data of CephFS subvolumes.

Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
Praveen M 2024-06-05 10:54:37 +05:30 committed by mergify[bot]
parent a51a6ae43a
commit 178b642b01
2 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,8 @@ type CephFS struct {
NetNamespaceFilePath string `json:"netNamespaceFilePath"` NetNamespaceFilePath string `json:"netNamespaceFilePath"`
// SubvolumeGroup contains the name of the SubvolumeGroup for CSI volumes // SubvolumeGroup contains the name of the SubvolumeGroup for CSI volumes
SubvolumeGroup string `json:"subvolumeGroup"` SubvolumeGroup string `json:"subvolumeGroup"`
// RadosNamespace is a rados namespace in the filesystem metadata pool
RadosNamespace string `json:"radosNamespace"`
// KernelMountOptions contains the kernel mount options for CephFS volumes // KernelMountOptions contains the kernel mount options for CephFS volumes
KernelMountOptions string `json:"kernelMountOptions"` KernelMountOptions string `json:"kernelMountOptions"`
// FuseMountOptions contains the fuse mount options for CephFS volumes // FuseMountOptions contains the fuse mount options for CephFS volumes

View File

@ -36,6 +36,8 @@ type CephFS struct {
NetNamespaceFilePath string `json:"netNamespaceFilePath"` NetNamespaceFilePath string `json:"netNamespaceFilePath"`
// SubvolumeGroup contains the name of the SubvolumeGroup for CSI volumes // SubvolumeGroup contains the name of the SubvolumeGroup for CSI volumes
SubvolumeGroup string `json:"subvolumeGroup"` SubvolumeGroup string `json:"subvolumeGroup"`
// RadosNamespace is a rados namespace in the filesystem metadata pool
RadosNamespace string `json:"radosNamespace"`
// KernelMountOptions contains the kernel mount options for CephFS volumes // KernelMountOptions contains the kernel mount options for CephFS volumes
KernelMountOptions string `json:"kernelMountOptions"` KernelMountOptions string `json:"kernelMountOptions"`
// FuseMountOptions contains the fuse mount options for CephFS volumes // FuseMountOptions contains the fuse mount options for CephFS volumes