PersistentVolumeClaimVolumeSourcePatchArgs

data class PersistentVolumeClaimVolumeSourcePatchArgs(val claimName: Output<String>? = null, val readOnly: Output<Boolean>? = null) : ConvertibleToJava<PersistentVolumeClaimVolumeSourcePatchArgs>

PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).

Constructors

constructor(claimName: Output<String>? = null, readOnly: Output<Boolean>? = null)

Properties

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

claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

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

readOnly Will force the ReadOnly setting in VolumeMounts. Default false.

Functions

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