GlusterfsPersistentVolumeSourceArgs

data class GlusterfsPersistentVolumeSourceArgs(val endpoints: Output<String>, val endpointsNamespace: Output<String>? = null, val path: Output<String>, val readOnly: Output<Boolean>? = null) : ConvertibleToJava<GlusterfsPersistentVolumeSourceArgs>

Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.

Constructors

Link copied to clipboard
constructor(endpoints: Output<String>, endpointsNamespace: Output<String>? = null, path: Output<String>, readOnly: Output<Boolean>? = null)

Properties

Link copied to clipboard
val endpoints: Output<String>

endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

Link copied to clipboard
val endpointsNamespace: Output<String>? = null

endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

Link copied to clipboard
val path: Output<String>

path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

Link copied to clipboard
val readOnly: Output<Boolean>? = null

readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod

Functions

Link copied to clipboard
open override fun toJava(): GlusterfsPersistentVolumeSourceArgs