class K8S::Api::Core::V1::ConfigMapVolumeSource
- K8S::Api::Core::V1::ConfigMapVolumeSource
- Reference
- Object
Overview
Adapts a ConfigMap into a volume.
The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.18/api/core/v1/config_map_volume_source.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, default_mode : Int32? = nil, items : Array? = nil, name : String? = nil, optional : Bool? = 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)?)
- #name : String?
- #name=(name : String?)
- #optional : Bool?
- #optional=(optional : Bool?)
Constructor Detail
def self.new(*, default_mode : Int32? = nil, items : Array? = nil, name : String? = nil, optional : Bool? = nil)
#