helm
No long description provided.
Installation
dagger install github.com/reconsumeralization/dagger/helm@1b787be0c974a5dd398b4587f9df58bc3bf8fe71Entrypoint
Return Type
Helm !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| chart | Directory | - | The dagger helm chart directory |
Example
dagger -m github.com/reconsumeralization/dagger/helm@1b787be0c974a5dd398b4587f9df58bc3bf8fe71 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 🔗
lint() 🔗
Lint the helm chart
Return Type
Void ! Example
dagger -m github.com/reconsumeralization/dagger/helm@1b787be0c974a5dd398b4587f9df58bc3bf8fe71 call \
lintfunc (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/reconsumeralization/dagger/helm@1b787be0c974a5dd398b4587f9df58bc3bf8fe71 call \
testfunc (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/reconsumeralization/dagger/helm@1b787be0c974a5dd398b4587f9df58bc3bf8fe71 call \
set-version --version stringfunc (m *MyModule) Example(version string) *dagger.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/chart/v0.13.0" |
| githubToken | Secret | - | No description provided |
| dryRun | Boolean | - | Test as much as possible without actually publishing anything |
Example
dagger -m github.com/reconsumeralization/dagger/helm@1b787be0c974a5dd398b4587f9df58bc3bf8fe71 call \
publish --target stringfunc (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)
}