struct

Kubernetes::ConfigMapNodeConfigSource

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

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

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

kubelet_config_key

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

Source
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.

Source
name

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

Source
name=(name : String | Nil)

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

Source
namespace

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

Source
namespace=(namespace : String | Nil)

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

Source
resource_version

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

Source
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.

Source
uid

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

Source
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.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source