Skip to content
Docs Try Aspire

ConfigMapVolumeSourceV1

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
Represents a Kubernetes ConfigMap volume source configuration.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class ConfigMapVolumeSourceV1
{
// ...
}
A ConfigMapVolumeSourceV1 allows the contents of a Kubernetes ConfigMap to be mounted as a volume. The ConfigMap data can be used directly within the container and optionally mapped to specific paths inside the volume. It also provides the ability to configure default file permissions, specify the target ConfigMap by name, and set optional loading behavior.