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