class K8S::Api::Core::V1::SecretProjection

Overview

Adapts a secret into a projected volume.

The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.

Included Modules

Defined in:

versions/v1.17/api/core/v1/secret_projection.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(*, items : Array? = nil, name : String? = nil, optional : Bool? = nil) #

[View source]

Instance Method Detail

def items : Array(Api::Core::V1::KeyToPath)? #

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

[View source]
def name : String? #

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

[View source]
def optional : Bool? #

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

[View source]