Skip to content
Docs Try Aspire

PersistentVolumeClaimVolumeSourceV1 Properties

Class Properties 2 members
Represents the configuration for mounting a PersistentVolumeClaim as a volume source.
Gets or sets the name of the Persistent Volume Claim (PVC). This property specifies the name of the PVC that will be used as a volume source.
public string ClaimName { get; set; }
ReadOnly Section titled ReadOnly nullable bool?
Specifies whether the volume is mounted as read-only. If set to true, write operations on the volume are disabled. If not set or set to false, the volume can be mounted with write permissions.
public bool? ReadOnly { get; set; }