1 write to Labels
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
162Labels = 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(), 109Labels = context.Labels.ToDictionary(), 141Labels = context.Labels.ToDictionary(), 145Selector = context.Labels.ToDictionary(), 192Labels = context.Labels.ToDictionary(), 478Labels = context.Labels.ToDictionary(),
KubernetesResource.cs (1)
142foreach (var label in Labels)
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
135Metadata = { Name = "myapp-rollout", Labels = serviceResource.Labels.ToDictionary() }, 136Spec = { Template = serviceResource.Workload!.PodTemplate, Selector = { MatchLabels = serviceResource.Labels.ToDictionary() } }