8 references to Spec
Aspire.Hosting.Kubernetes (5)
KubernetesEnvironmentResource.cs (5)
1188httpRoute.Spec.ParentRefs.Add(new HttpRouteParentRefV1 { Name = gatewayName }); 1192httpRoute.Spec.Hostnames.Add(hostGroup.Key); 1196httpRoute.Spec.Hostnames.AddRange(resolvedHostnames); 1225httpRoute.Spec.Rules.Add(rule); 1228if (httpRoute.Spec.Rules.Count > 0)
Aspire.Hosting.Kubernetes.Tests (3)
KubernetesGatewayTests.cs (3)
168Assert.Equal(expectedHostnames, route.Spec.Hostnames); 232Assert.All(gateway.Resource.GeneratedHttpRoutes, route => Assert.Single(route.Spec.Hostnames)); 634var rule = Assert.Single(route.Spec.Rules);