helm-docs
A tool for automatically generating markdown documentation for helm charts.
Installation
dagger install github.com/luanmtruong/daggerverse/helm-docs@96c13b929c636316317f745ff36cda4e4c66f680Entrypoint
Return Type
HelmDocs !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-docs@96c13b929c636316317f745ff36cda4e4c66f680 call \
func (m *MyModule) Example() *dagger.HelmDocs {
return dag.
HelmDocs()
}@function
def example() -> dagger.HelmDocs:
return (
dag.helm_docs()
)@func()
example(): HelmDocs {
return dag
.helmDocs()
}Types
HelmDocs 🔗
generate() 🔗
Generate markdown documentation for Helm charts from requirements and values files.
Return Type
File !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| chart | Directory ! | - | A directory containing a Helm chart. |
| templates | [File ! ] | - | A list of Go template files to use for rendering the documentation. |
| sortValuesOrder | String | - | Order in which to sort the values table ("alphanum" or "file"). (default "alphanum") |
Example
dagger -m github.com/luanmtruong/daggerverse/helm-docs@96c13b929c636316317f745ff36cda4e4c66f680 call \
generate --chart DIR_PATHfunc (m *MyModule) Example(chart *dagger.Directory) *dagger.File {
return dag.
HelmDocs().
Generate(chart)
}@function
def example(chart: dagger.Directory) -> dagger.File:
return (
dag.helm_docs()
.generate(chart)
)@func()
example(chart: Directory): File {
return dag
.helmDocs()
.generate(chart)
}