Share via


ConfigMapKeySelectorV1.Optional Property

Definition

Indicates whether the specific key in the ConfigMap is optional. If set to true, the absence of the specified key will not raise an error. If set to false or null, the specified key must exist in the ConfigMap; otherwise, an error may be raised.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Applies to