Skip to main content

helm CLI reference

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

Executable prerequisite​

This package does not install the helm executable. Install it separately and ensure helm is available on PATH.

Follow the executable's official documentation for installation instructions.

Package installation​

dotnet add package ModularPipelines.Helm

Resolve the service with context.Tools.Helm. Projects using C# 13 or another .NET language can use context.Tools.Get<ModularPipelines.Helm.Services.IHelm>() instead.

Module example​

using ModularPipelines;
using ModularPipelines.Helm.Options;

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

Global options​

Global options are rendered after the selected subcommand.

CLI optionPropertyAvailabilityDescription
--burst-limitBurstLimitAll editionsclient-side default throttling limit (default 100)
--debugDebugAll editionsenable verbose output
--kube-apiserverKubeApiServerAll editionsthe address and the port for the Kubernetes API server
--kube-as-groupKubeAsGroupAll editionsgroup to impersonate for the operation, this flag can be repeated to specify multiple groups.
--kube-as-userKubeAsUserAll editionsusername to impersonate for the operation
--kube-ca-fileKubeCaFileAll editionsthe certificate authority file for the Kubernetes API server connection
--kube-contextKubeContextAll editionsname of the kubeconfig context to use
--kube-insecure-skip-tls-verifyKubeInsecureSkipTlsVerifyAll editionsif true, the Kubernetes API server's certificate will not be checked for validity. This will make your HTTPS connections insecure
--kube-tls-server-nameKubeTlsServerNameAll editionsserver name to use for Kubernetes API server certificate validation. If it is not provided, the hostname used to contact the server is used
--kube-tokenKubeTokenAll editionsbearer token used for authentication
--kubeconfigKubeConfigAll editionspath to the kubeconfig file
--namespaceNamespaceAll editionsnamespace scope for this request
--qpsQpsAll editionsqueries per second used when communicating with the Kubernetes API, not including bursting
--registry-configRegistryConfigAll editionspath to the registry config file
--repository-cacheRepositoryCacheAll editionspath to the directory containing cached repository indexes
--repository-configRepositoryConfigAll editionspath to the file containing repository names and URLs

Commands​

CLI commandOptions record
helm createHelmCreateOptions
helm dependencyHelmDependencyOptions
helm dependency buildHelmDependencyBuildOptions
helm dependency listHelmDependencyListOptions
helm dependency updateHelmDependencyUpdateOptions
helm envHelmEnvOptions
helm getHelmGetOptions
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 pluginHelmPluginOptions
helm plugin installHelmPluginInstallOptions
helm plugin listHelmPluginListOptions
helm plugin uninstallHelmPluginUninstallOptions
helm plugin updateHelmPluginUpdateOptions
helm pullHelmPullOptions
helm pushHelmPushOptions
helm registryHelmRegistryOptions
helm registry loginHelmRegistryLoginOptions
helm registry logoutHelmRegistryLogoutOptions
helm repoHelmRepoOptions
helm repo addHelmRepoAddOptions
helm repo indexHelmRepoIndexOptions
helm repo listHelmRepoListOptions
helm repo removeHelmRepoRemoveOptions
helm repo updateHelmRepoUpdateOptions
helm rollbackHelmRollbackOptions
helm searchHelmSearchOptions
helm search hubHelmSearchHubOptions
helm search repoHelmSearchRepoOptions
helm showHelmShowOptions
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
helm versionHelmVersionOptions