struct Kubernetes::ConfigMapNodeConfigSource

Overview

ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. This API is deprecated since 1.22: https://git.k8s.io/enhancements/keps/sig-node/281-dynamic-kubelet-configuration

Included Modules

Defined in:

generated/models/io_k8s_api_core_v1.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

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

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

def self.new(*, __pull_for_json_serializable pull : ::JSON::PullParser) #

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

Macro Detail

macro field(name, type = nil, **options, &block) #

Helper macro for defining fields with automatic camelCase conversion


Instance Method Detail

def kubelet_config_key : String | Nil #

KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.


def kubelet_config_key=(kubelet_config_key : String | Nil) #

KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.


def name : String | Nil #

Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.


def name=(name : String | Nil) #

Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.


def namespace : String | Nil #

Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.


def namespace=(namespace : String | Nil) #

Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.


def resource_version : String | Nil #

ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.


def resource_version=(resource_version : String | Nil) #

ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.


def uid : String | Nil #

UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.


def uid=(uid : String | Nil) #

UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.