helm
The package manager for Kubernetes.
Example (Create)
no available example in current languagefunc (m *Examples) Helm_Create(ctx context.Context) error {
chart := dag.Helm().Create("foo")
_, err := chart.Package(dagger.HelmChartPackageOpts{
AppVersion: "1.0.0",
Version: "1.0.0",
}).File().Sync(ctx)
return err
}no available example in current languageno available example in current languageInstallation
dagger install github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680Entrypoint
Return Type
Helm !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String | - | Version (image tag) to use from the official image repository as a base container. |
| container | Container | - | Custom container to use as a base container. |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 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 🔗
container() 🔗
Return Type
Container ! Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
containerfunc (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()
}chart() 🔗
Returns a Helm chart from a source directory.
Return Type
Chart !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Directory ! | - | A directory containing a Helm chart. |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
chart --source DIR_PATHfunc (m *MyModule) Example(source *dagger.Directory) *dagger.HelmChart {
return dag.
Helm().
Chart(source)
}@function
def example(source: dagger.Directory) -> dagger.HelmChart:
return (
dag.helm()
.chart(source)
)@func()
example(source: Directory): HelmChart {
return dag
.helm()
.chart(source)
}withRegistryAuth() 🔗
Add credentials for a registry.
Note: WithRegistryAuth overrides any previous or subsequent calls to Login/Logout.
Return Type
Helm !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| address | String ! | - | No description provided |
| username | String ! | - | No description provided |
| secret | Secret ! | - | No description provided |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
with-registry-auth --address string --username string --secret env:MYSECRETfunc (m *MyModule) Example(address string, username string, secret *dagger.Secret) *dagger.Helm {
return dag.
Helm().
WithRegistryAuth(address, username, secret)
}@function
def example(address: str, username: str, secret: dagger.Secret) -> dagger.Helm:
return (
dag.helm()
.with_registry_auth(address, username, secret)
)@func()
example(address: string, username: string, secret: Secret): Helm {
return dag
.helm()
.withRegistryAuth(address, username, secret)
}withoutRegistryAuth() 🔗
Removes credentials for a registry.
Return Type
Helm !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| address | String ! | - | No description provided |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
without-registry-auth --address stringfunc (m *MyModule) Example(address string) *dagger.Helm {
return dag.
Helm().
WithoutRegistryAuth(address)
}@function
def example(address: str) -> dagger.Helm:
return (
dag.helm()
.without_registry_auth(address)
)@func()
example(address: string): Helm {
return dag
.helm()
.withoutRegistryAuth(address)
}withKubeconfigFile() 🔗
Mount a file as the kubeconfig file.
Return Type
Helm !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| file | File ! | - | No description provided |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
with-kubeconfig-file --file file:pathfunc (m *MyModule) Example(file *dagger.File) *dagger.Helm {
return dag.
Helm().
WithKubeconfigFile(file)
}@function
def example(file: dagger.File) -> dagger.Helm:
return (
dag.helm()
.with_kubeconfig_file(file)
)@func()
example(file: File): Helm {
return dag
.helm()
.withKubeconfigFile(file)
}withKubeconfigSecret() 🔗
Mount a secret as the kubeconfig file.
Return Type
Helm !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| secret | Secret ! | - | No description provided |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
with-kubeconfig-secret --secret env:MYSECRETfunc (m *MyModule) Example(secret *dagger.Secret) *dagger.Helm {
return dag.
Helm().
WithKubeconfigSecret(secret)
}@function
def example(secret: dagger.Secret) -> dagger.Helm:
return (
dag.helm()
.with_kubeconfig_secret(secret)
)@func()
example(secret: Secret): Helm {
return dag
.helm()
.withKubeconfigSecret(secret)
}create() 🔗
Create a new chart directory along with the common files and directories used in a chart.
Return Type
Chart !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| name | String ! | - | No description provided |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
create --name stringfunc (m *MyModule) Example(name string) *dagger.HelmChart {
return dag.
Helm().
Create(name)
}@function
def example(name: str) -> dagger.HelmChart:
return (
dag.helm()
.create(name)
)@func()
example(name: string): HelmChart {
return dag
.helm()
.create(name)
}lint() 🔗
Lint a Helm chart directory.
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| chart | Directory ! | - | A directory containing a Helm chart. |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
lint --chart DIR_PATHfunc (m *MyModule) Example(chart *dagger.Directory) *dagger.Container {
return dag.
Helm().
Lint(chart)
}@function
def example(chart: dagger.Directory) -> dagger.Container:
return (
dag.helm()
.lint(chart)
)@func()
example(chart: Directory): Container {
return dag
.helm()
.lint(chart)
}package() 🔗
Build a Helm chart package.
Return Type
File !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| chart | Directory ! | - | A directory containing a Helm chart. |
| appVersion | String | - | Set the appVersion on the chart to this version. |
| version | String | - | Set the version on the chart to this semver version. |
| dependencyUpdate | Boolean | - | Update dependencies from "Chart.yaml" to dir "charts/" before packaging. |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
package --chart DIR_PATHfunc (m *MyModule) Example(chart *dagger.Directory) *dagger.File {
return dag.
Helm().
Package(chart)
}@function
def example(chart: dagger.Directory) -> dagger.File:
return (
dag.helm()
.package(chart)
)@func()
example(chart: Directory): File {
return dag
.helm()
.package(chart)
}login() 🔗
Authenticate to an OCI registry.
Note: Login stores credentials in the filesystem in plain text. Use WithRegistryAuth as a safer alternative.
Return Type
Helm !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| host | String ! | - | Host of the OCI registry. |
| username | String ! | - | Registry username. |
| password | Secret ! | - | Registry password. |
| insecure | Boolean | - | Allow connections to TLS registry without certs. |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
login --host string --username string --password env:MYSECRETfunc (m *MyModule) Example(host string, username string, password *dagger.Secret) *dagger.Helm {
return dag.
Helm().
Login(host, username, password)
}@function
def example(host: str, username: str, password: dagger.Secret) -> dagger.Helm:
return (
dag.helm()
.login(host, username, password)
)@func()
example(host: string, username: string, password: Secret): Helm {
return dag
.helm()
.login(host, username, password)
}logout() 🔗
Remove credentials stored for an OCI registry.
Return Type
Helm !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| host | String ! | - | No description provided |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
logout --host stringfunc (m *MyModule) Example(host string) *dagger.Helm {
return dag.
Helm().
Logout(host)
}@function
def example(host: str) -> dagger.Helm:
return (
dag.helm()
.logout(host)
)@func()
example(host: string): Helm {
return dag
.helm()
.logout(host)
}push() 🔗
Push a Helm chart package to an OCI registry.
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| pkg | File ! | - | Packaged Helm chart. |
| registry | String ! | - | OCI registry to push to (including the path except the chart name). |
| plainHttp | Boolean | - | Use insecure HTTP connections for the chart upload. |
| insecureSkipTlsVerify | Boolean | - | Skip tls certificate checks for the chart upload. |
| caFile | File | - | Verify certificates of HTTPS-enabled servers using this CA bundle. |
| certFile | File | - | Identify registry client using this SSL certificate file. |
| keyFile | Secret | - | Identify registry client using this SSL key file. |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
push --pkg file:path --registry stringfunc (m *MyModule) Example(ctx context.Context, pkg *dagger.File, registry string) {
return dag.
Helm().
Push(ctx, pkg, registry)
}@function
async def example(pkg: dagger.File, registry: str) -> None:
return await (
dag.helm()
.push(pkg, registry)
)@func()
async example(pkg: File, registry: string): Promise<void> {
return dag
.helm()
.push(pkg, registry)
}Chart 🔗
A Helm chart.
directory() 🔗
Return Type
Directory ! Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
create --name string \
directoryfunc (m *MyModule) Example(name string) *dagger.Directory {
return dag.
Helm().
Create(name).
Directory()
}@function
def example(name: str) -> dagger.Directory:
return (
dag.helm()
.create(name)
.directory()
)@func()
example(name: string): Directory {
return dag
.helm()
.create(name)
.directory()
}lint() 🔗
Lint a Helm chart.
Return Type
Container ! Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
create --name string \
lintfunc (m *MyModule) Example(name string) *dagger.Container {
return dag.
Helm().
Create(name).
Lint()
}@function
def example(name: str) -> dagger.Container:
return (
dag.helm()
.create(name)
.lint()
)@func()
example(name: string): Container {
return dag
.helm()
.create(name)
.lint()
}package() 🔗
Build a Helm chart package.
Return Type
Package !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| appVersion | String | - | Set the appVersion on the chart to this version. |
| version | String | - | Set the version on the chart to this semver version. |
| dependencyUpdate | Boolean | - | Update dependencies from "Chart.yaml" to dir "charts/" before packaging. |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
create --name string \
packagefunc (m *MyModule) Example(name string) *dagger.HelmPackage {
return dag.
Helm().
Create(name).
Package()
}@function
def example(name: str) -> dagger.HelmPackage:
return (
dag.helm()
.create(name)
.package()
)@func()
example(name: string): HelmPackage {
return dag
.helm()
.create(name)
.package()
}install() 🔗
Install a Helm chart.
Return Type
Release !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| name | String ! | - | Helm release name. |
| atomic | Boolean | - | If set, the installation process deletes the installation on failure. Wait flag will be set automatically if atomic is used. |
| caFile | File | - | Verify certificates of HTTPS-enabled servers using this CA bundle. |
| certFile | File | - | Identify HTTPS client using this SSL certificate file. |
| createNamespace | Boolean | - | Create the release namespace if not present. |
| dependencyUpdate | Boolean | - | Update dependencies if they are missing before installing the chart. |
| description | String | - | Add a custom description. |
| disableOpenapiValidation | Boolean | - | If set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema. |
| enableDns | Boolean | - | Enable DNS lookups when rendering templates. |
| force | Boolean | - | Force resource updates through a replacement strategy. |
| generateName | Boolean | - | Generate the name. |
| insecureSkipTlsVerify | Boolean | - | Skip tls certificate checks for the chart download. |
| keyFile | Secret | - | Identify HTTPS client using this SSL key file. |
| labels | [String ! ] | - | Labels that would be added to release metadata. |
| nameTemplate | String | - | Specify template used to name the release. |
| noHooks | Boolean | - | Prevent hooks from running during install. |
| plainHttp | Boolean | - | Use insecure HTTP connections for the chart download. |
| postRenderer | String | - | The path to an executable to be used for post rendering. If it exists in $PATH, the binary will be used, otherwise it will try to look for the executable at the given path. |
| postRendererArgs | [String ! ] | - | Arguments to the post-renderer. |
| renderSubchartNotes | Boolean | - | If set, render subchart notes along with the parent. |
| replace | Boolean | - | Re-use the given name, only if that name is a deleted release which remains in the history. This is unsafe in production. |
| skipCrds | Boolean | - | If set, no CRDs will be installed. By default, CRDs are installed if not already present. |
| timeout | String | - | Time to wait for any individual Kubernetes operation (like Jobs for hooks). |
| values | [File ! ] | - | Specify values in a YAML file. |
| verify | Boolean | - | Verify the package before using it. |
| wait | Boolean | - | If set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as timeout. |
| waitForJobs | Boolean | - | If set and wait enabled, will wait until all Jobs have been completed before marking the release as successful. It will wait for as long as timeout. |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
create --name string \
install --name stringfunc (m *MyModule) Example(name string, name1 string) *dagger.HelmRelease {
return dag.
Helm().
Create(name).
Install(name1)
}@function
def example(name: str, name1: str) -> dagger.HelmRelease:
return (
dag.helm()
.create(name)
.install(name1)
)@func()
example(name: string, name1: string): HelmRelease {
return dag
.helm()
.create(name)
.install(name1)
}Package 🔗
A Helm chart package.
file() 🔗
Return Type
File ! Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
create --name string \
package \
filefunc (m *MyModule) Example(name string) *dagger.File {
return dag.
Helm().
Create(name).
Package().
File()
}@function
def example(name: str) -> dagger.File:
return (
dag.helm()
.create(name)
.package()
.file()
)@func()
example(name: string): File {
return dag
.helm()
.create(name)
.package()
.file()
}withRegistryAuth() 🔗
Add credentials for a registry.
Return Type
Package !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| address | String ! | - | No description provided |
| username | String ! | - | No description provided |
| secret | Secret ! | - | No description provided |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
create --name string \
package \
with-registry-auth --address string --username string --secret env:MYSECRETfunc (m *MyModule) Example(name string, address string, username string, secret *dagger.Secret) *dagger.HelmPackage {
return dag.
Helm().
Create(name).
Package().
WithRegistryAuth(address, username, secret)
}@function
def example(name: str, address: str, username: str, secret: dagger.Secret) -> dagger.HelmPackage:
return (
dag.helm()
.create(name)
.package()
.with_registry_auth(address, username, secret)
)@func()
example(name: string, address: string, username: string, secret: Secret): HelmPackage {
return dag
.helm()
.create(name)
.package()
.withRegistryAuth(address, username, secret)
}withoutRegistryAuth() 🔗
Removes credentials for a registry.
Return Type
Package !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| address | String ! | - | No description provided |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
create --name string \
package \
without-registry-auth --address stringfunc (m *MyModule) Example(name string, address string) *dagger.HelmPackage {
return dag.
Helm().
Create(name).
Package().
WithoutRegistryAuth(address)
}@function
def example(name: str, address: str) -> dagger.HelmPackage:
return (
dag.helm()
.create(name)
.package()
.without_registry_auth(address)
)@func()
example(name: string, address: string): HelmPackage {
return dag
.helm()
.create(name)
.package()
.withoutRegistryAuth(address)
}withKubeconfigFile() 🔗
Mount a file as the kubeconfig file.
Return Type
Package !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| file | File ! | - | No description provided |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
create --name string \
package \
with-kubeconfig-file --file file:pathfunc (m *MyModule) Example(name string, file *dagger.File) *dagger.HelmPackage {
return dag.
Helm().
Create(name).
Package().
WithKubeconfigFile(file)
}@function
def example(name: str, file: dagger.File) -> dagger.HelmPackage:
return (
dag.helm()
.create(name)
.package()
.with_kubeconfig_file(file)
)@func()
example(name: string, file: File): HelmPackage {
return dag
.helm()
.create(name)
.package()
.withKubeconfigFile(file)
}withKubeconfigSecret() 🔗
Mount a secret as the kubeconfig file.
Return Type
Package !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| secret | Secret ! | - | No description provided |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
create --name string \
package \
with-kubeconfig-secret --secret env:MYSECRETfunc (m *MyModule) Example(name string, secret *dagger.Secret) *dagger.HelmPackage {
return dag.
Helm().
Create(name).
Package().
WithKubeconfigSecret(secret)
}@function
def example(name: str, secret: dagger.Secret) -> dagger.HelmPackage:
return (
dag.helm()
.create(name)
.package()
.with_kubeconfig_secret(secret)
)@func()
example(name: string, secret: Secret): HelmPackage {
return dag
.helm()
.create(name)
.package()
.withKubeconfigSecret(secret)
}publish() 🔗
Publishes this Helm chart package to an OCI registry.
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| registry | String ! | - | OCI registry to push to (including the path except the chart name). |
| plainHttp | Boolean | - | Use insecure HTTP connections for the chart upload. |
| insecureSkipTlsVerify | Boolean | - | Skip tls certificate checks for the chart upload. |
| caFile | File | - | Verify certificates of HTTPS-enabled servers using this CA bundle. |
| certFile | File | - | Identify registry client using this SSL certificate file. |
| keyFile | Secret | - | Identify registry client using this SSL key file. |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
create --name string \
package \
publish --registry stringfunc (m *MyModule) Example(ctx context.Context, name string, registry string) {
return dag.
Helm().
Create(name).
Package().
Publish(ctx, registry)
}@function
async def example(name: str, registry: str) -> None:
return await (
dag.helm()
.create(name)
.package()
.publish(registry)
)@func()
async example(name: string, registry: string): Promise<void> {
return dag
.helm()
.create(name)
.package()
.publish(registry)
}install() 🔗
Install a Helm chart.
Return Type
Release !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| name | String ! | - | Helm release name. |
| atomic | Boolean | - | If set, the installation process deletes the installation on failure. Wait flag will be set automatically if atomic is used. |
| caFile | File | - | Verify certificates of HTTPS-enabled servers using this CA bundle. |
| certFile | File | - | Identify HTTPS client using this SSL certificate file. |
| createNamespace | Boolean | - | Create the release namespace if not present. |
| dependencyUpdate | Boolean | - | Update dependencies if they are missing before installing the chart. |
| description | String | - | Add a custom description. |
| disableOpenapiValidation | Boolean | - | If set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema. |
| enableDns | Boolean | - | Enable DNS lookups when rendering templates. |
| force | Boolean | - | Force resource updates through a replacement strategy. |
| generateName | Boolean | - | Generate the name. |
| insecureSkipTlsVerify | Boolean | - | Skip tls certificate checks for the chart download. |
| keyFile | Secret | - | Identify HTTPS client using this SSL key file. |
| labels | [String ! ] | - | Labels that would be added to release metadata. |
| nameTemplate | String | - | Specify template used to name the release. |
| noHooks | Boolean | - | Prevent hooks from running during install. |
| plainHttp | Boolean | - | Use insecure HTTP connections for the chart download. |
| postRenderer | String | - | The path to an executable to be used for post rendering. If it exists in $PATH, the binary will be used, otherwise it will try to look for the executable at the given path. |
| postRendererArgs | [String ! ] | - | Arguments to the post-renderer. |
| renderSubchartNotes | Boolean | - | If set, render subchart notes along with the parent. |
| replace | Boolean | - | Re-use the given name, only if that name is a deleted release which remains in the history. This is unsafe in production. |
| skipCrds | Boolean | - | If set, no CRDs will be installed. By default, CRDs are installed if not already present. |
| timeout | String | - | Time to wait for any individual Kubernetes operation (like Jobs for hooks). |
| values | [File ! ] | - | Specify values in a YAML file. |
| verify | Boolean | - | Verify the package before using it. |
| wait | Boolean | - | If set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as timeout. |
| waitForJobs | Boolean | - | If set and wait enabled, will wait until all Jobs have been completed before marking the release as successful. It will wait for as long as timeout. |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
create --name string \
package \
install --name stringfunc (m *MyModule) Example(name string, name1 string) *dagger.HelmRelease {
return dag.
Helm().
Create(name).
Package().
Install(name1)
}@function
def example(name: str, name1: str) -> dagger.HelmRelease:
return (
dag.helm()
.create(name)
.package()
.install(name1)
)@func()
example(name: string, name1: string): HelmRelease {
return dag
.helm()
.create(name)
.package()
.install(name1)
}Release 🔗
name() 🔗
Return Type
String ! Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
create --name string \
install --name string \
namefunc (m *MyModule) Example(ctx context.Context, name string, name1 string) string {
return dag.
Helm().
Create(name).
Install(name1).
Name(ctx)
}@function
async def example(name: str, name1: str) -> str:
return await (
dag.helm()
.create(name)
.install(name1)
.name()
)@func()
async example(name: string, name1: string): Promise<string> {
return dag
.helm()
.create(name)
.install(name1)
.name()
}test() 🔗
Run Helm tests.
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| filter | [String ! ] | - | Specify tests by attribute (currently "name") using attribute=value syntax or '!attribute=value' to exclude a test. |
| logs | Boolean | - | Dump the logs from test pods (this runs after all tests are complete, but before any cleanup). |
| timeout | String | - | Time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s). |
Example
dagger -m github.com/luanmtruong/daggerverse/helm@96c13b929c636316317f745ff36cda4e4c66f680 call \
create --name string \
install --name string \
testfunc (m *MyModule) Example(ctx context.Context, name string, name1 string) string {
return dag.
Helm().
Create(name).
Install(name1).
Test(ctx)
}@function
async def example(name: str, name1: str) -> str:
return await (
dag.helm()
.create(name)
.install(name1)
.test()
)@func()
async example(name: string, name1: string): Promise<string> {
return dag
.helm()
.create(name)
.install(name1)
.test()
}