Skip to main content

helm CLI reference

ModularPipelines.Helm provides strongly typed access to the helm CLI.

Installation

dotnet add package ModularPipelines.Helm

Import ModularPipelines.Helm.Extensions, then resolve the service with context.Helm().

Module example

using ModularPipelines.Context;
using ModularPipelines.Models;
using ModularPipelines.Modules;
using ModularPipelines.Helm.Extensions;
using ModularPipelines.Helm.Options;

public class RunCommandModule : Module<CommandResult>
{
protected override async Task<CommandResult?> ExecuteAsync(
IModuleContext context,
CancellationToken cancellationToken)
{
return await context.Helm().Env(
new HelmEnvOptions(),
cancellationToken: cancellationToken);
}
}

Commands

CLI commandOptions record
helm createHelmCreateOptions
helm dependency buildHelmDependencyBuildOptions
helm dependency listHelmDependencyListOptions
helm dependency updateHelmDependencyUpdateOptions
helm envHelmEnvOptions
helm get allHelmGetAllOptions
helm get hooksHelmGetHooksOptions
helm get manifestHelmGetManifestOptions
helm get metadataHelmGetMetadataOptions
helm get notesHelmGetNotesOptions
helm get valuesHelmGetValuesOptions
helm historyHelmHistoryOptions
helm installHelmInstallOptions
helm lintHelmLintOptions
helm listHelmListOptions
helm packageHelmPackageOptions
helm plugin installHelmPluginInstallOptions
helm plugin listHelmPluginListOptions
helm plugin uninstallHelmPluginUninstallOptions
helm plugin updateHelmPluginUpdateOptions
helm pullHelmPullOptions
helm pushHelmPushOptions
helm registry loginHelmRegistryLoginOptions
helm registry logoutHelmRegistryLogoutOptions
helm repo addHelmRepoAddOptions
helm repo indexHelmRepoIndexOptions
helm repo listHelmRepoListOptions
helm repo removeHelmRepoRemoveOptions
helm repo updateHelmRepoUpdateOptions
helm rollbackHelmRollbackOptions
helm search hubHelmSearchHubOptions
helm search repoHelmSearchRepoOptions
helm show allHelmShowAllOptions
helm show chartHelmShowChartOptions
helm show crdsHelmShowCrdsOptions
helm show readmeHelmShowReadmeOptions
helm show valuesHelmShowValuesOptions
helm statusHelmStatusOptions
helm templateHelmTemplateOptions
helm testHelmTestOptions
helm uninstallHelmUninstallOptions
helm upgradeHelmUpgradeOptions
helm verifyHelmVerifyOptions