41 references to HelmDeploymentEngine
Aspire.Hosting.Azure.Kubernetes (2)
AzureKubernetesEnvironmentResource.cs (2)
101.GetSteps(HelmDeploymentEngine.GetKubernetesDestroyTag(k8sEnv.Name)) 160HelmDeploymentEngine.GetHelmUninstallStepName(k8sEnv.Name),
Aspire.Hosting.Kubernetes (6)
CertManagerExtensions.cs (1)
391Tags = [HelmDeploymentEngine.GetKubernetesDestroyTag(certManager.Parent.Name)]
KubernetesEnvironmentExtensions.cs (2)
378builder.Resource.DeploymentEngineStepsFactory = HelmDeploymentEngine.CreateStepsAsync; 531builder.Resource.DeploymentEngineStepsFactory ??= HelmDeploymentEngine.CreateStepsAsync;
KubernetesHelmChartExtensions.cs (1)
113Tags = [HelmDeploymentEngine.GetKubernetesDestroyTag(environment.Name)]
KubernetesResource.cs (2)
38Action = async ctx => await HelmDeploymentEngine.PrintResourceSummaryAsync(ctx, kubernetesEnvironmentResource, resource, this).ConfigureAwait(false), 39Tags = [HelmDeploymentEngine.PrintSummaryTag],
Aspire.Hosting.Kubernetes.Tests (33)
KubernetesDeployTests.cs (27)
965await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 969var deployValuesPath = Path.Combine(outputPath, HelmDeploymentEngine.GetDeployValuesFileName("env")); 994await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 998var deployValuesPath = Path.Combine(outputPath, HelmDeploymentEngine.GetDeployValuesFileName("env")); 1024await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1028var deployValuesPath = Path.Combine(outputPath, HelmDeploymentEngine.GetDeployValuesFileName("env")); 1045var result = HelmDeploymentEngine.ResolveHelmExpressions(template, lookup); 1059var result = HelmDeploymentEngine.ResolveHelmExpressions(template, lookup); 1070var result = HelmDeploymentEngine.ResolveHelmExpressions(template, lookup); 1100await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1104var deployValuesPath = Path.Combine(outputPath, HelmDeploymentEngine.GetDeployValuesFileName("env")); 1120Assert.Equal("values.myenv.yaml", HelmDeploymentEngine.GetDeployValuesFileName("myenv")); 1121Assert.Equal("values.k8s.yaml", HelmDeploymentEngine.GetDeployValuesFileName("k8s")); 1269await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1273var deployValuesPath = Path.Combine(outputPath, HelmDeploymentEngine.GetDeployValuesFileName("env")); 1293await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1297var deployValuesPath = Path.Combine(outputPath, HelmDeploymentEngine.GetDeployValuesFileName("env")); 1466await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1470var overridePath = Path.Combine(outputPath, HelmDeploymentEngine.GetDeployValuesFileName("myenv")); 1525await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1528var overridePath = Path.Combine(workspace.Path, HelmDeploymentEngine.GetDeployValuesFileName("env")); 1586await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1589var overridePath = Path.Combine(workspace.Path, HelmDeploymentEngine.GetDeployValuesFileName("env")); 1631await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1634var overridePath = Path.Combine(workspace.Path, HelmDeploymentEngine.GetDeployValuesFileName("env")); 1671await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1674var overridePath = Path.Combine(workspace.Path, HelmDeploymentEngine.GetDeployValuesFileName("env"));
KubernetesPublisherTests.cs (6)
80await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync(workspace.Path, environment.Resource, TestContext.Current.CancellationToken); 83var overridePath = Path.Combine(workspace.Path, HelmDeploymentEngine.GetDeployValuesFileName("env")); 388await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync(workspace.Path, environment.Resource, cts.Token); 392.AppendContentAsFile(await File.ReadAllTextAsync(Path.Combine(workspace.Path, HelmDeploymentEngine.GetDeployValuesFileName("env"))), "yaml"); 1316await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync(workspace.Path, environment.Resource, CancellationToken.None); 1319.AppendContentAsFile(await File.ReadAllTextAsync(Path.Combine(workspace.Path, HelmDeploymentEngine.GetDeployValuesFileName("env"))), "yaml")