Skip to main content

config_map

Overview

Nameconfig_map
TypeResource
Idk8s.core_v1.config_map

Fields

NameDatatypeDescription
immutablebooleanImmutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.
kindstringKind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadataobjectObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
apiVersionstringAPIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
binaryDataobjectBinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.
dataobjectData contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.

Methods

NameAccessible byRequired ParamsDescription
listCoreV1ConfigMapForAllNamespacesSELECTlist or watch objects of kind ConfigMap
listCoreV1NamespacedConfigMapSELECTnamespacelist or watch objects of kind ConfigMap
readCoreV1NamespacedConfigMapSELECTname, namespaceread the specified ConfigMap
createCoreV1NamespacedConfigMapINSERTnamespacecreate a ConfigMap
deleteCoreV1CollectionNamespacedConfigMapDELETEnamespacedelete collection of ConfigMap
deleteCoreV1NamespacedConfigMapDELETEname, namespacedelete a ConfigMap
patchCoreV1NamespacedConfigMapEXECname, namespacepartially update the specified ConfigMap
replaceCoreV1NamespacedConfigMapEXECname, namespacereplace the specified ConfigMap
watchCoreV1ConfigMapListForAllNamespacesEXECwatch individual changes to a list of ConfigMap. deprecated: use the 'watch' parameter with a list operation instead.
watchCoreV1NamespacedConfigMapEXECname, namespacewatch changes to an object of kind ConfigMap. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
watchCoreV1NamespacedConfigMapListEXECnamespacewatch individual changes to a list of ConfigMap. deprecated: use the 'watch' parameter with a list operation instead.