Share via


ConfigMapEnvSourceV1.Optional Property

Definition

Gets or sets a value indicating whether the ConfigMap is optional. If true, the ConfigMap reference is considered optional, and the application will continue running even if the ConfigMap is not found. If false or not set, the absence of the ConfigMap will result in an error.

[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