ConfigMap.BinaryData Property

Definition

Represents a collection of binary data entries as key-value pairs within a ConfigMap object.

[YamlDotNet.Serialization.YamlMember(Alias="binaryData")]
public System.Collections.Generic.Dictionary<string,string> BinaryData { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="binaryData")>]
member this.BinaryData : System.Collections.Generic.Dictionary<string, string>
Public ReadOnly Property BinaryData As Dictionary(Of String, String)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The BinaryData property is used to store binary data in a Kubernetes ConfigMap. Each entry consists of a unique string key and its corresponding base64-encoded binary value. Keys must follow the Kubernetes naming conventions. This property is read-only in the object and needs to be initialized when configuring the ConfigMap.

Applies to