class K8S::Api::Core::V1::SecretVolumeSource

Overview

Adapts a Secret into a volume.

The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.

Included Modules

Defined in:

versions/v1.11/api/core/v1/secret_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(*, default_mode : Int32? = nil, items : Array? = nil, optional : Bool? = nil, secret_name : String? = nil) #

[View source]

Instance Method Detail

def default_mode : Int32? #

[View source]
def default_mode=(default_mode : Int32?) #

[View source]
def items : Array(Api::Core::V1::KeyToPath)? #

[View source]
def items=(items : Array(Api::Core::V1::KeyToPath)?) #

[View source]
def optional : Bool? #

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

[View source]
def secret_name : String? #

[View source]
def secret_name=(secret_name : String?) #

[View source]