mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-03 11:48:15 +00:00
correction on rbd volume object and defaults
Signed-off-by: Huamin Chen <hchen@redhat.com>
This commit is contained in:
@@ -645,13 +645,13 @@ type RBDVolumeSource struct {
|
||||
// TODO: how do we prevent errors in the filesystem from compromising the machine
|
||||
FSType string `json:"fsType,omitempty"`
|
||||
// Optional: RadosPool is the rados pool name,default is rbd
|
||||
RBDPool string `json:"pool"`
|
||||
RBDPool string `json:"pool,omitempty"`
|
||||
// Optional: RBDUser is the rados user name, default is admin
|
||||
RadosUser string `json:"user"`
|
||||
RadosUser string `json:"user,omitempty"`
|
||||
// Optional: Keyring is the path to key ring for RBDUser, default is /etc/ceph/keyring
|
||||
Keyring string `json:"keyring"`
|
||||
// Optional: SecretRef is name of the authentication secret for RBDUser, default is empty.
|
||||
SecretRef *LocalObjectReference `json:"secretRef"`
|
||||
Keyring string `json:"keyring,omitempty"`
|
||||
// Optional: SecretRef is name of the authentication secret for RBDUser, default is nil.
|
||||
SecretRef *LocalObjectReference `json:"secretRef,omitempty"`
|
||||
// Optional: Defaults to false (read/write). ReadOnly here will force
|
||||
// the ReadOnly setting in VolumeMounts.
|
||||
ReadOnly bool `json:"readOnly,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user