NFSVolumeSourceArgs

data class NFSVolumeSourceArgs(val path: Output<String>, val readOnly: Output<Boolean>? = null, val server: Output<String>) : ConvertibleToJava<NFSVolumeSourceArgs>

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

Constructors

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

Properties

Link copied to clipboard
val path: Output<String>

path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

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

readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

Link copied to clipboard
val server: Output<String>

server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

Functions

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