class K8S::Api::Core::V1::PersistentVolumeClaimVolumeSource

Overview

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).

Included Modules

Defined in:

versions/v1.18/api/core/v1/persistent_volume_claim_volume_source.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, claim_name : String, read_only : Bool? = nil) #

[View source]

Instance Method Detail

def claim_name : String #

[View source]
def claim_name=(claim_name : String) #

[View source]
def read_only : Bool? #

[View source]
def read_only=(read_only : Bool?) #

[View source]