EnvVarSourceV1.ConfigMapKeyRef Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ConfigMapKeyRef specifies a reference to a specific key within a Kubernetes ConfigMap. It allows configuring environment variables from a ConfigMap by selecting a key and its associated value. This property can be used for configuring your application with data stored in ConfigMaps, with the option to make the reference optional.
[YamlDotNet.Serialization.YamlMember(Alias="configMapKeyRef")]
public Aspire.Hosting.Kubernetes.Resources.ConfigMapKeySelectorV1? ConfigMapKeyRef { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="configMapKeyRef")>]
member this.ConfigMapKeyRef : Aspire.Hosting.Kubernetes.Resources.ConfigMapKeySelectorV1 with get, set
Public Property ConfigMapKeyRef As ConfigMapKeySelectorV1
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute