helm
No long description provided.
Installation
dagger install github.com/shykes/dagger/helm@8eef805a3164e4111c273ef47f79e699cc8f0f94
Entrypoint
Return Type
Helm !
Arguments
Name | Type | Description |
---|---|---|
chart | Directory | The dagger helm chart directory |
Example
dagger -m github.com/shykes/dagger/helm@8eef805a3164e4111c273ef47f79e699cc8f0f94 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/shykes/dagger/helm@8eef805a3164e4111c273ef47f79e699cc8f0f94 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/shykes/dagger/helm@8eef805a3164e4111c273ef47f79e699cc8f0f94 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 & app to, e.g. --version=v0.12.0 |
Example
dagger -m github.com/shykes/dagger/helm@8eef805a3164e4111c273ef47f79e699cc8f0f94 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
Return Type
Void !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
tag | String ! | - | No description provided |
githubToken | Secret | - | No description provided |
dryRun | Boolean | - | No description provided |
Example
dagger -m github.com/shykes/dagger/helm@8eef805a3164e4111c273ef47f79e699cc8f0f94 call \
publish --tag string
func (m *myModule) example(ctx context.Context, tag string) {
return dag.
Helm().
Publish(ctx, tag)
}
@function
async def example(tag: str) -> None:
return await (
dag.helm()
.publish(tag)
)
@func()
async example(tag: string): Promise<void> {
return dag
.helm()
.publish(tag)
}