8 writes to Labels
Aspire.Hosting.Kubernetes (7)
Extensions\ResourceExtensions.cs (7)
21
Labels
= context.Labels.ToDictionary(),
50
Labels
= context.Labels.ToDictionary(),
75
Labels
= context.Labels.ToDictionary(),
109
Labels
= context.Labels.ToDictionary(),
141
Labels
= context.Labels.ToDictionary(),
192
Labels
= context.Labels.ToDictionary(),
478
Labels
= context.Labels.ToDictionary(),
Aspire.Hosting.Kubernetes.Tests (1)
KubernetesPublisherTests.cs (1)
134
Metadata = { Name = "myapp-rollout",
Labels
= serviceResource.Labels.ToDictionary() },
4 references to Labels
Aspire.Hosting.Azure.Kubernetes (2)
AzureKubernetesEnvironmentResource.AksPipeline.cs (2)
98
serviceAccount.Metadata.
Labels
["azure.workload.identity/use"] = "true";
118
podTemplate.Metadata.
Labels
["azure.workload.identity/use"] = "true";
Aspire.Hosting.Kubernetes (2)
KubernetesManifestResource.cs (1)
52
Metadata.
Labels
[key] = value;
KubernetesResource.cs (1)
143
resource.Metadata.
Labels
.TryAdd(label.Key, label.Value);