CephFS: Add subdir Option for Changing Mounted Root Directory

This commit is contained in:
Michael Schmidt
2016-02-01 22:01:19 +01:00
parent 171c2ecbe7
commit 1373e0139d
4 changed files with 18 additions and 3 deletions

View File

@@ -637,6 +637,8 @@ type CinderVolumeSource struct {
type CephFSVolumeSource struct {
// Required: Monitors is a collection of Ceph monitors
Monitors []string `json:"monitors"`
// Optional: Used as the mounted root, rather than the full Ceph tree, default is /
Path string `json:"path,omitempty"`
// Optional: User is the rados user name, default is admin
User string `json:"user,omitempty"`
// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret