helm
No long description provided.
Installation
dagger install github.com/helderco/dagger/helm@170038cbfd041246a4c36ca67a405d77524d660f
Entrypoint
Return Type
Helm !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
chart | Directory | - | The dagger helm chart directory |
Example
dagger -m github.com/helderco/dagger/helm@170038cbfd041246a4c36ca67a405d77524d660f call \
func (m *myModule) example() *Helm {
return dag.
Helm()
}
@function
def example() -> dag.Helm:
return (
dag.helm()
)
@func()
example(): Helm {
return dag
.helm()
}
Types
Helm 🔗
lint() 🔗
Lint the helm chart
Return Type
Void !
Example
dagger -m github.com/helderco/dagger/helm@170038cbfd041246a4c36ca67a405d77524d660f call \
lint
func (m *myModule) example(ctx context.Context) {
return dag.
Helm().
Lint(ctx)
}
@function
async def example() -> None:
return await (
dag.helm()
.lint()
)
@func()
async example(): Promise<void> {
return dag
.helm()
.lint()
}
test() 🔗
Test the helm chart on an ephemeral K3S service
Return Type
Void !
Example
dagger -m github.com/helderco/dagger/helm@170038cbfd041246a4c36ca67a405d77524d660f call \
test
func (m *myModule) example(ctx context.Context) {
return dag.
Helm().
Test(ctx)
}
@function
async def example() -> None:
return await (
dag.helm()
.test()
)
@func()
async example(): Promise<void> {
return dag
.helm()
.test()
}
setVersion() 🔗
Set chart & app version
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
version | String ! | - | Version to set the chart to, e.g. --version=v0.12.0 |
Example
dagger -m github.com/helderco/dagger/helm@170038cbfd041246a4c36ca67a405d77524d660f call \
set-version --version string
func (m *myModule) example(version string) *File {
return dag.
Helm().
SetVersion(version)
}
@function
def example(version: str) -> dagger.File:
return (
dag.helm()
.set_version(version)
)
@func()
example(version: string): File {
return dag
.helm()
.setVersion(version)
}
publish() 🔗
Package & publish chart to our registry + github release
Return Type
Void !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
target | String ! | - | The git ref to publish eg. "helm/dagger/v0.13.0" |
gitRepoSource | String | "https://github.com/dagger/dagger.git" | No description provided |
githubToken | Secret | - | No description provided |
dryRun | Boolean | - | Test as much as possible without actually publishing anything |
Example
dagger -m github.com/helderco/dagger/helm@170038cbfd041246a4c36ca67a405d77524d660f call \
publish --target string
func (m *myModule) example(ctx context.Context, target string) {
return dag.
Helm().
Publish(ctx, target)
}
@function
async def example(target: str) -> None:
return await (
dag.helm()
.publish(target)
)
@func()
async example(target: string): Promise<void> {
return dag
.helm()
.publish(target)
}