1 write to Labels
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
158Labels = new()
13 references to Labels
Aspire.Hosting.Kubernetes (11)
Extensions\ResourceExtensions.cs (10)
21Labels = context.Labels.ToDictionary(), 25Selector = new(context.Labels.ToDictionary()), 50Labels = context.Labels.ToDictionary(), 54Selector = new(context.Labels.ToDictionary()), 75Labels = context.Labels.ToDictionary(), 113Labels = context.Labels.ToDictionary(), 150Labels = context.Labels.ToDictionary(), 154Selector = context.Labels.ToDictionary(), 201Labels = context.Labels.ToDictionary(), 485Labels = context.Labels.ToDictionary(),
KubernetesResource.cs (1)
138foreach (var label in Labels)
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
685Metadata = { Name = "myapp-rollout", Labels = serviceResource.Labels.ToDictionary() }, 686Spec = { Template = serviceResource.Workload!.PodTemplate, Selector = { MatchLabels = serviceResource.Labels.ToDictionary() } }