Evaluate a Helm chart and "import" its output.
Identify the chart to template.
May be in the format <repo>/<chart>, an OCI URI, or an absolute path to a local chart directory or package.
<repo>/<chart>
If non-null, request a specific version of the chart.
This is only relevant when chart is not a local path.
chart
Becomes the name of the Helm release.
Equivalent to the --namespace flag of helm template.
--namespace
helm template
The values to use during Helm chart templating.
This parameter is equivalent to rendering the value as JSON and passing it via the --values flag to helm template.
--values
The renderer used to render values.
values
If values is a module and has a output.renderer that is a JsonRenderer, the configured renderer is used. Otherwise, the default value is a new JsonRenderer.
output.renderer
JsonRenderer
Resource templates to be used for converting custom resources.
The first String key is the resource's kind, the second its apiVersion.
String
kind
apiVersion
Example:
customResourceTemplates { ["Custom"] { ["v1"] = import("Custom.pkl") } }
Perform Helm templating.
Returns a Mapping with keys in the format "/:<metadata.namespace>/<metadata.name>". The value are instances of K8sResource.
Mapping
K8sResource
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
name
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
Evaluate a Helm chart and "import" its output.