Dagger
Search

helm

This module has been generated via dagger init and serves as a reference to
basic module structure as you get started with Dagger.

Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.

The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.

Installation

dagger install github.com/riftonix/daggerverse/helm@v1.0.0

Entrypoint

Return Type
Helm !
Arguments
NameTypeDefault ValueDescription
imageRegistryString "docker.io"Helm image registry
imageRepositoryString "alpine/helm"Helm image repositroy
imageTagString "3.18.6"Helm image tag
userString "65532"Helm image user
Example
dagger -m github.com/riftonix/daggerverse/helm@220b827edb86d3305c6a3dbcfae4571acd894233 call \
func (m *MyModule) Example() *dagger.Helm  {
	return dag.
			Helm()
}
@function
def example() -> dagger.Helm:
	return (
		dag.helm()
	)
@func()
example(): Helm {
	return dag
		.helm()
}

Types

Helm 🔗

Dagger-ci helm module

authInRegistry() 🔗

Authenticate with registry

Return Type
Helm !
Arguments
NameTypeDefault ValueDescription
usernameString !-

Registry username

passwordSecret !-

Registry password

addressString "docker.io"

Registry host

Example
dagger -m github.com/riftonix/daggerverse/helm@220b827edb86d3305c6a3dbcfae4571acd894233 call \
 auth-in-registry --username string --password env:MYSECRET
func (m *MyModule) Example(username string, password *dagger.Secret) *dagger.Helm  {
	return dag.
			Helm().
			AuthInRegistry(username, password)
}
@function
def example(username: str, password: dagger.Secret) -> dagger.Helm:
	return (
		dag.helm()
		.auth_in_registry(username, password)
	)
@func()
example(username: string, password: Secret): Helm {
	return dag
		.helm()
		.authInRegistry(username, password)
}

container() 🔗

Return Type
Container !
Example
dagger -m github.com/riftonix/daggerverse/helm@220b827edb86d3305c6a3dbcfae4571acd894233 call \
 container
func (m *MyModule) Example() *dagger.Container  {
	return dag.
			Helm().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.helm()
		.container()
	)
@func()
example(): Container {
	return dag
		.helm()
		.container()
}

lint() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-

Helm chart host path

strictBoolean false

Fail on lint warnings

Example
dagger -m github.com/riftonix/daggerverse/helm@220b827edb86d3305c6a3dbcfae4571acd894233 call \
 lint --source DIR_PATH
func (m *MyModule) Example(ctx context.Context, source *dagger.Directory) string  {
	return dag.
			Helm().
			Lint(ctx, source)
}
@function
async def example(source: dagger.Directory) -> str:
	return await (
		dag.helm()
		.lint(source)
	)
@func()
async example(source: Directory): Promise<string> {
	return dag
		.helm()
		.lint(source)
}

package() 🔗

Packages a chart into a versioned chart archive file

Return Type
File !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-

Chart directory

appVersionString ""

Set the appVersion on the chart to this version

versionString ""

Set the version on the chart to this semver version

dependencyUpdateBoolean false

Update dependencies

Example
dagger -m github.com/riftonix/daggerverse/helm@220b827edb86d3305c6a3dbcfae4571acd894233 call \
 package --source DIR_PATH
func (m *MyModule) Example(source *dagger.Directory) *dagger.File  {
	return dag.
			Helm().
			Package(source)
}
@function
def example(source: dagger.Directory) -> dagger.File:
	return (
		dag.helm()
		.package(source)
	)
@func()
example(source: Directory): File {
	return dag
		.helm()
		.package(source)
}

push() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-

Chart directory

registryString !-

Registry host

repositoryString ""

Repository path

versionString ""

Set the version on the chart to this semver version

usernameString ""

Registry username

passwordSecret null

Registry password

insecureBoolean false

Use insecure HTTP connections for the chart upload

appVersionString ""

Set the appVersion on the chart to this version

dependencyUpdateBoolean false

Update dependencies

Example
dagger -m github.com/riftonix/daggerverse/helm@220b827edb86d3305c6a3dbcfae4571acd894233 call \
 push --source DIR_PATH --registry string
func (m *MyModule) Example(ctx context.Context, source *dagger.Directory, registry string) string  {
	return dag.
			Helm().
			Push(ctx, source, registry)
}
@function
async def example(source: dagger.Directory, registry: str) -> str:
	return await (
		dag.helm()
		.push(source, registry)
	)
@func()
async example(source: Directory, registry: string): Promise<string> {
	return dag
		.helm()
		.push(source, registry)
}

template() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-

Helm chart directory

valuesFile null

Values.yaml file

releaseNameString !"ci-release"

Release name

Example
dagger -m github.com/riftonix/daggerverse/helm@220b827edb86d3305c6a3dbcfae4571acd894233 call \
 template --source DIR_PATH --release-name string
func (m *MyModule) Example(ctx context.Context, source *dagger.Directory, releaseName string) string  {
	return dag.
			Helm().
			Template(ctx, source, releaseName)
}
@function
async def example(source: dagger.Directory, release_name: str) -> str:
	return await (
		dag.helm()
		.template(source, release_name)
	)
@func()
async example(source: Directory, releaseName: string): Promise<string> {
	return dag
		.helm()
		.template(source, releaseName)
}