Dagger
Search

helm

Crane is a tool for managing container images

Installation

dagger install github.com/opopops/daggerverse/helm@v1.2.1

Entrypoint

Return Type
Helm !
Arguments
NameTypeDefault ValueDescription
imageString !"cgr.dev/chainguard/helm:latest-dev"Helm image
registryUsernameString nullNo description provided
registryPasswordSecret nullNo description provided
userString "65532"No description provided
containerContainer nullNo description provided
Example
dagger -m github.com/opopops/daggerverse/helm@327a52a86fa82c8a28102a10c27acac1525686a0 call \
 --image string
func (m *myModule) example(image string) *Helm  {
	return dag.
			Helm(image)
}
@function
def example(image: str, ) -> dag.Helm:
	return (
		dag.helm(image)
	)
@func()
example(image: string, ): Helm {
	return dag
		.helm(image)
}

Types

Helm 🔗

Helm module

image() 🔗

Helm image

Return Type
String !
Example
dagger -m github.com/opopops/daggerverse/helm@327a52a86fa82c8a28102a10c27acac1525686a0 call \
 --image string image
func (m *myModule) example(ctx context.Context, image string) string  {
	return dag.
			Helm(image).
			Image(ctx)
}
@function
async def example(image: str, ) -> str:
	return await (
		dag.helm(image)
		.image()
	)
@func()
async example(image: string, ): Promise<string> {
	return dag
		.helm(image)
		.image()
}

registryUsername() 🔗

Return Type
String 
Example
dagger -m github.com/opopops/daggerverse/helm@327a52a86fa82c8a28102a10c27acac1525686a0 call \
 --image string registry-username
func (m *myModule) example(ctx context.Context, image string) string  {
	return dag.
			Helm(image).
			RegistryUsername(ctx)
}
@function
async def example(image: str, ) -> str:
	return await (
		dag.helm(image)
		.registry_username()
	)
@func()
async example(image: string, ): Promise<string> {
	return dag
		.helm(image)
		.registryUsername()
}

registryPassword() 🔗

Return Type
Secret 
Example
dagger -m github.com/opopops/daggerverse/helm@327a52a86fa82c8a28102a10c27acac1525686a0 call \
 --image string registry-password
func (m *myModule) example(image string) *Secret  {
	return dag.
			Helm(image).
			RegistryPassword()
}
@function
def example(image: str, ) -> dagger.Secret:
	return (
		dag.helm(image)
		.registry_password()
	)
@func()
example(image: string, ): Secret {
	return dag
		.helm(image)
		.registryPassword()
}

user() 🔗

Return Type
String 
Example
dagger -m github.com/opopops/daggerverse/helm@327a52a86fa82c8a28102a10c27acac1525686a0 call \
 --image string user
func (m *myModule) example(ctx context.Context, image string) string  {
	return dag.
			Helm(image).
			User(ctx)
}
@function
async def example(image: str, ) -> str:
	return await (
		dag.helm(image)
		.user()
	)
@func()
async example(image: string, ): Promise<string> {
	return dag
		.helm(image)
		.user()
}

container() 🔗

Returns container

Return Type
Container !
Example
dagger -m github.com/opopops/daggerverse/helm@327a52a86fa82c8a28102a10c27acac1525686a0 call \
 --image string container
func (m *myModule) example(image string) *Container  {
	return dag.
			Helm(image).
			Container()
}
@function
def example(image: str, ) -> dagger.Container:
	return (
		dag.helm(image)
		.container()
	)
@func()
example(image: string, ): Container {
	return dag
		.helm(image)
		.container()
}

lint() 🔗

Verify that the chart is well-formed

Return Type
String !
Arguments
NameTypeDefault ValueDescription
pathDirectory !-Path to the chart
strictBoolean falseNo description provided
quietBoolean falseNo description provided
Example
dagger -m github.com/opopops/daggerverse/helm@327a52a86fa82c8a28102a10c27acac1525686a0 call \
 --image string lint --path DIR_PATH
func (m *myModule) example(ctx context.Context, image string, path *Directory) string  {
	return dag.
			Helm(image).
			Lint(ctx, path)
}
@function
async def example(image: str, path: dagger.Directory) -> str:
	return await (
		dag.helm(image)
		.lint(path)
	)
@func()
async example(image: string, path: Directory): Promise<string> {
	return dag
		.helm(image)
		.lint(path)
}

package() 🔗

Packages a chart into a versioned chart archive file

Return Type
File !
Arguments
NameTypeDefault ValueDescription
pathDirectory !-Path to the chart
appVersionString nullNo description provided
versionString nullNo description provided
dependencyUpdateBoolean falseNo description provided
Example
dagger -m github.com/opopops/daggerverse/helm@327a52a86fa82c8a28102a10c27acac1525686a0 call \
 --image string package --path DIR_PATH
func (m *myModule) example(image string, path *Directory) *File  {
	return dag.
			Helm(image).
			Package(path)
}
@function
def example(image: str, path: dagger.Directory) -> dagger.File:
	return (
		dag.helm(image)
		.package(path)
	)
@func()
example(image: string, path: Directory): File {
	return dag
		.helm(image)
		.package(path)
}

packagePush() 🔗

Packages a chart an push it to the registry

Return Type
String !
Arguments
NameTypeDefault ValueDescription
pathDirectory !-Path to the chart
registryString !-Registry host
usernameString nullNo description provided
passwordSecret nullNo description provided
plainHttpBoolean falseNo description provided
appVersionString nullNo description provided
versionString nullNo description provided
dependencyUpdateBoolean falseNo description provided
Example
dagger -m github.com/opopops/daggerverse/helm@327a52a86fa82c8a28102a10c27acac1525686a0 call \
 --image string package-push --path DIR_PATH --registry string
func (m *myModule) example(ctx context.Context, image string, path *Directory, registry string) string  {
	return dag.
			Helm(image).
			PackagePush(ctx, path, registry)
}
@function
async def example(image: str, path: dagger.Directory, registry: str) -> str:
	return await (
		dag.helm(image)
		.package_push(path, registry)
	)
@func()
async example(image: string, path: Directory, registry: string): Promise<string> {
	return dag
		.helm(image)
		.packagePush(path, registry)
}

push() 🔗

Verify that the chart is well-formed

Return Type
String !
Arguments
NameTypeDefault ValueDescription
chartFile !-Path to the chart
registryString !-Registry host
usernameString nullNo description provided
passwordSecret nullNo description provided
plainHttpBoolean falseNo description provided
Example
dagger -m github.com/opopops/daggerverse/helm@327a52a86fa82c8a28102a10c27acac1525686a0 call \
 --image string push --chart file:path --registry string
func (m *myModule) example(ctx context.Context, image string, chart *File, registry string) string  {
	return dag.
			Helm(image).
			Push(ctx, chart, registry)
}
@function
async def example(image: str, chart: dagger.File, registry: str) -> str:
	return await (
		dag.helm(image)
		.push(chart, registry)
	)
@func()
async example(image: string, chart: File, registry: string): Promise<string> {
	return dag
		.helm(image)
		.push(chart, registry)
}

template() 🔗

Render chart templates locally and display the output

Return Type
String !
Arguments
NameTypeDefault ValueDescription
pathDirectory !-Path to the chart
showOnly[String ! ] nullNo description provided
sets[String ! ] nullNo description provided
setFiles[String ! ] nullNo description provided
setJsons[File ! ] nullNo description provided
setLiterals[File ! ] nullNo description provided
setStrings[File ! ] nullNo description provided
Example
dagger -m github.com/opopops/daggerverse/helm@327a52a86fa82c8a28102a10c27acac1525686a0 call \
 --image string template --path DIR_PATH
func (m *myModule) example(ctx context.Context, image string, path *Directory) string  {
	return dag.
			Helm(image).
			Template(ctx, path)
}
@function
async def example(image: str, path: dagger.Directory) -> str:
	return await (
		dag.helm(image)
		.template(path)
	)
@func()
async example(image: string, path: Directory): Promise<string> {
	return dag
		.helm(image)
		.template(path)
}

withLint() 🔗

Verify that the chart is well-formed (for chaining)

Return Type
Helm !
Arguments
NameTypeDefault ValueDescription
pathDirectory !-Path to the chart
strictBoolean falseNo description provided
quietBoolean falseNo description provided
Example
dagger -m github.com/opopops/daggerverse/helm@327a52a86fa82c8a28102a10c27acac1525686a0 call \
 --image string with-lint --path DIR_PATH
func (m *myModule) example(image string, path *Directory) *Helm  {
	return dag.
			Helm(image).
			WithLint(path)
}
@function
def example(image: str, path: dagger.Directory) -> dag.Helm:
	return (
		dag.helm(image)
		.with_lint(path)
	)
@func()
example(image: string, path: Directory): Helm {
	return dag
		.helm(image)
		.withLint(path)
}

withRegistryAuth() 🔗

Authenticate with registry

Return Type
Helm !
Arguments
NameTypeDefault ValueDescription
usernameString !-Registry username
secretSecret !-Registry password
addressString "docker.io"No description provided
Example
dagger -m github.com/opopops/daggerverse/helm@327a52a86fa82c8a28102a10c27acac1525686a0 call \
 --image string with-registry-auth --username string --secret env:MYSECRET
func (m *myModule) example(image string, username string, secret *Secret) *Helm  {
	return dag.
			Helm(image).
			WithRegistryAuth(username, secret)
}
@function
def example(image: str, username: str, secret: dagger.Secret) -> dag.Helm:
	return (
		dag.helm(image)
		.with_registry_auth(username, secret)
	)
@func()
example(image: string, username: string, secret: Secret): Helm {
	return dag
		.helm(image)
		.withRegistryAuth(username, secret)
}