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)
37Action = async ctx => await HelmDeploymentEngine.PrintResourceSummaryAsync(ctx, kubernetesEnvironmentResource, resource, this).ConfigureAwait(false), 38Tags = [HelmDeploymentEngine.PrintSummaryTag],
Aspire.Hosting.Kubernetes.Tests (33)
KubernetesDeployTests.cs (27)
964await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 968var deployValuesPath = Path.Combine(outputPath, HelmDeploymentEngine.GetDeployValuesFileName("env")); 993await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 997var deployValuesPath = Path.Combine(outputPath, HelmDeploymentEngine.GetDeployValuesFileName("env")); 1023await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1027var deployValuesPath = Path.Combine(outputPath, HelmDeploymentEngine.GetDeployValuesFileName("env")); 1044var result = HelmDeploymentEngine.ResolveHelmExpressions(template, lookup); 1058var result = HelmDeploymentEngine.ResolveHelmExpressions(template, lookup); 1069var result = HelmDeploymentEngine.ResolveHelmExpressions(template, lookup); 1099await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1103var deployValuesPath = Path.Combine(outputPath, HelmDeploymentEngine.GetDeployValuesFileName("env")); 1119Assert.Equal("values.myenv.yaml", HelmDeploymentEngine.GetDeployValuesFileName("myenv")); 1120Assert.Equal("values.k8s.yaml", HelmDeploymentEngine.GetDeployValuesFileName("k8s")); 1268await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1272var deployValuesPath = Path.Combine(outputPath, HelmDeploymentEngine.GetDeployValuesFileName("env")); 1292await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1296var deployValuesPath = Path.Combine(outputPath, HelmDeploymentEngine.GetDeployValuesFileName("env")); 1465await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1469var overridePath = Path.Combine(outputPath, HelmDeploymentEngine.GetDeployValuesFileName("myenv")); 1524await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1527var overridePath = Path.Combine(workspace.Path, HelmDeploymentEngine.GetDeployValuesFileName("env")); 1585await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1588var overridePath = Path.Combine(workspace.Path, HelmDeploymentEngine.GetDeployValuesFileName("env")); 1630await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1633var overridePath = Path.Combine(workspace.Path, HelmDeploymentEngine.GetDeployValuesFileName("env")); 1670await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync( 1673var 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"); 1732await HelmDeploymentEngine.ResolveAndWriteDeployValuesAsync(workspace.Path, environment.Resource, CancellationToken.None); 1735.AppendContentAsFile(await File.ReadAllTextAsync(Path.Combine(workspace.Path, HelmDeploymentEngine.GetDeployValuesFileName("env"))), "yaml")