ConfigMapPatchArgs

data class ConfigMapPatchArgs(val apiVersion: Output<String>? = null, val binaryData: Output<Map<String, String>>? = null, val data: Output<Map<String, String>>? = null, val immutable: Output<Boolean>? = null, val kind: Output<String>? = null, val metadata: Output<ObjectMetaPatchArgs>? = null) : ConvertibleToJava<ConfigMapPatchArgs>

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the Server-Side Apply Docs for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. ConfigMap holds configuration data for pods to consume.

Constructors

Link copied to clipboard
constructor(apiVersion: Output<String>? = null, binaryData: Output<Map<String, String>>? = null, data: Output<Map<String, String>>? = null, immutable: Output<Boolean>? = null, kind: Output<String>? = null, metadata: Output<ObjectMetaPatchArgs>? = null)

Properties

Link copied to clipboard
val apiVersion: Output<String>? = null

APIVersion 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

Link copied to clipboard
val binaryData: Output<Map<String, String>>? = null

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

Link copied to clipboard
val data: Output<Map<String, String>>? = null

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

Link copied to clipboard
val immutable: Output<Boolean>? = null

Immutable, 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.

Link copied to clipboard
val kind: Output<String>? = null

Kind 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

Link copied to clipboard
val metadata: Output<ObjectMetaPatchArgs>? = null

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

Functions

Link copied to clipboard
open override fun toJava(): ConfigMapPatchArgs