Skip to content
Docs Try Aspire

ConfigMapKeySelectorV1 Properties

Class Properties 3 members
ConfigMapKeySelectorV1 represents a selector for a specific key in a ConfigMap. It is used to select a named key from a ConfigMap, with an optional flag to indicate if the key or ConfigMap is optional.
Specifies the key to select from the referenced ConfigMap. This property identifies a specific entry within the ConfigMap that should be used.
public string Key { get; set; }
Gets or sets the name of the ConfigMap whose key-value pair is to be selected.
public string Name { get; set; }
Optional Section titled Optional nullable bool?
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.
public bool? Optional { get; set; }