class K8S::Api::Core::V1::SecretProjection
- K8S::Api::Core::V1::SecretProjection
 - Reference
 - Object
 
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
- JSON::Serializable
 - JSON::Serializable::Unmapped
 - YAML::Serializable
 - YAML::Serializable::Unmapped
 
Defined in:
versions/v1.18/api/core/v1/secret_projection.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
 - .new(pull : JSON::PullParser)
 - .new(*, items : Array(Api::Core::V1::KeyToPath)? = nil, name : String? = nil, optional : Bool? = nil)
 
Instance Method Summary
- #items : Array(Api::Core::V1::KeyToPath)?
 - #items=(items : Array(Api::Core::V1::KeyToPath)?)
 - #name : String?
 - #name=(name : String?)
 - #optional : Bool?
 - #optional=(optional : Bool?)
 
Constructor Detail
        
        def self.new(*, items : Array(Api::Core::V1::KeyToPath)? = nil, name : String? = nil, optional : Bool? = nil)
        #