class Pyrite::Api::Core::V1::ConfigMapProjection

Overview

Adapts a ConfigMap into a projected volume.

The contents of the target ConfigMap's Data field will be presented in a projected 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. Note that this is identical to a configmap volume source without the default mode.

Defined in:

versions/v1.14/api/core/v1/config_map_projection.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

Adapts a ConfigMap into a projected volume.

The contents of the target ConfigMap's Data field will be presented in a projected 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. Note that this is identical to a configmap volume source without the default mode.


def self.new(pull : JSON::PullParser) #

Adapts a ConfigMap into a projected volume.

The contents of the target ConfigMap's Data field will be presented in a projected 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. Note that this is identical to a configmap volume source without the default mode.


def self.new(*, items : Array? = nil, name : String? = nil, optional : Bool? = nil) #

Instance Method Detail

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

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

def name : String? #

def name=(name : String?) #

def optional : Bool? #

def optional=(optional : Bool?) #