ConfigMap.Immutable Property

Definition

Gets or sets a value indicating whether the ConfigMap is immutable.

[YamlDotNet.Serialization.YamlMember(Alias="immutable")]
public bool? Immutable { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="immutable")>]
member this.Immutable : Nullable<bool> with get, set
Public Property Immutable As Nullable(Of Boolean)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

When set to true, the ConfigMap becomes immutable, meaning its data and binaryData fields cannot be modified after creation. This ensures that the resource remains unchanged, which is particularly useful for use cases where the ConfigMap data must not be altered, such as configuration storage for applications. When this property is null or false, the ConfigMap can be updated as usual.

Applies to