24 references to Values
Aspire.Hosting.Azure.Kubernetes.Tests (3)
AzureKubernetesHelmChartTests.cs (3)
53Assert.Equal(2, chart.Resource.Values.Count); 54Assert.Equal("true", chart.Resource.Values["crds.enabled"]); 55Assert.Equal("true", chart.Resource.Values["config.enableGatewayAPI"]);
Aspire.Hosting.Kubernetes (5)
CertManagerExtensions.cs (3)
706if (validateEabConfiguration && chart.Values.Any(pair => pair.Key.StartsWith("extraArgs", StringComparison.Ordinal) 716var @namespace = chart.Values.GetValueOrDefault("clusterResourceNamespace"); 719var chartNamespace = chart.Values.GetValueOrDefault("namespace");
KubernetesHelmChartExtensions.cs (2)
146builder.Resource.Values[key] = value; 335foreach (var (key, value) in chart.Values)
Aspire.Hosting.Kubernetes.Tests (16)
CertManagerTests.cs (8)
84certManager.Resource.HelmChart.Values["extraArgs[0]"] = "--cluster-resource-namespace=accounts"; 88certManager.Resource.HelmChart.Values["clusterResourceNamespace"] = "INVALID_NAMESPACE"; 206certManager.Resource.HelmChart.Values["clusterResourceNamespace"] = clusterNamespace; 210certManager.Resource.HelmChart.Values["namespace"] = chartNamespace; 221certManager.Resource.HelmChart.Values["extraArgs[0]"] = "--cluster-resource-namespace=accounts"; 332certManager.Resource.HelmChart.Values["extraArgs[0]"] = "--cluster-resource-namespace=accounts"; 378Assert.Equal("true", certManager.Resource.HelmChart.Values["crds.enabled"]); 379Assert.Equal("true", certManager.Resource.HelmChart.Values["config.enableGatewayAPI"]);
KubernetesHelmChartTests.cs (8)
38Assert.Equal(2, chart.Resource.Values.Count); 39Assert.Equal("true", chart.Resource.Values["crds.enabled"]); 40Assert.Equal("true", chart.Resource.Values["config.enableGatewayAPI"]); 289Assert.Equal("hello world!", chart.Resource.Values["config.greeting"]); 290Assert.Equal("a,b,c", chart.Resource.Values["config.list"]); 302Assert.Equal("--foo", chart.Resource.Values["args[0]"]); 541Assert.Single(chart.Resource.Values); 542Assert.Equal("value2", chart.Resource.Values["key"]);