github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_ceph_fs_volume_source.go (about)

     1  /*
     2   * Testkube API
     3   *
     4   * Testkube provides a Kubernetes-native framework for test definition, execution and results
     5   *
     6   * API version: 1.0.0
     7   * Contact: testkube@kubeshop.io
     8   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     9   */
    10  package testkube
    11  
    12  // cephFS represents a Ceph FS mount on the host that shares a pod's lifetime
    13  type CephFsVolumeSource struct {
    14  	// monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
    15  	Monitors []string `json:"monitors"`
    16  	// path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
    17  	Path string `json:"path,omitempty"`
    18  	// readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
    19  	ReadOnly bool `json:"readOnly,omitempty"`
    20  	// secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
    21  	SecretFile string                `json:"secretFile,omitempty"`
    22  	SecretRef  *LocalObjectReference `json:"secretRef,omitempty"`
    23  	// user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
    24  	User string `json:"user,omitempty"`
    25  }