HelmReleaseResource
Handle
Represents a Helm chart release installed into a k3s cluster.
type HelmReleaseResource interface { IComputeResource Resource ResourceWithArgs ResourceWithEndpoints ResourceWithEnvironment ResourceWithParent ResourceWithWaitSupport}5 members
Properties
property
NamespacestringgetGets the Kubernetes namespace the chart is installed into.
Namespace() (string, error)property
ParentK3sClusterResource getGets the Parent property
Parent() K3sClusterResourceproperty
ReleaseName stringgetGets the Helm release name passed to
helm upgrade --install .ReleaseName() (string, error)Methods
Adds a Helm
--set key=value override to the release.WithHelmValue( key string, value string,) HelmReleaseResourceParameters
keystringThe Helm value path using dot notation, e.g. server.service.type . If the same key is set more than once, the last call wins.valuestringThe value to assign.Returns
HelmReleaseResource The same builder, for chaining.
Returns a handle; failures surface later via Err().
Supplies a YAML values file to the Helm release (
--values ).WithHelmValuesFile(path string) HelmReleaseResourceParameters
pathstringPath to the YAML values file on the host. Relative paths are resolved against the AppHost project directory. Call this method multiple times to supply additional files; they are applied in declaration order and later files win for duplicate keys.Returns
HelmReleaseResource The same builder, for chaining.
Returns a handle; failures surface later via Err().