pub struct ConfigMapNodeConfigSource {
pub kubelet_config_key: String,
pub name: String,
pub namespace: String,
pub resource_version: Option<String>,
pub uid: Option<String>,
}
Expand description
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
Fields§
§kubelet_config_key: String
KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.
name: String
Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.
namespace: String
Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.
resource_version: Option<String>
ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
uid: Option<String>
UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
Trait Implementations§
Source§impl Clone for ConfigMapNodeConfigSource
impl Clone for ConfigMapNodeConfigSource
Source§fn clone(&self) -> ConfigMapNodeConfigSource
fn clone(&self) -> ConfigMapNodeConfigSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ConfigMapNodeConfigSource
impl Debug for ConfigMapNodeConfigSource
Source§impl DeepMerge for ConfigMapNodeConfigSource
impl DeepMerge for ConfigMapNodeConfigSource
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.