HelmReleaseResource
Handle
interface HelmReleaseResource extends IComputeResource, IResource, IResourceWithArgs, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithParent, K3sClusterResource]], IResourceWithProbes, IResourceWithWaitSupport { readonly namespace: string; readonly parent: K3sClusterResource; readonly releaseName: string; withHelmValue( key: string, value: string): HelmReleaseResource; withHelmValuesFile(path: string): HelmReleaseResource;}5 members
Properties
property
namespacestringgetGets the Kubernetes namespace the chart is installed into.
property
parentK3sClusterResource getGets the Parent property
property
releaseName stringgetGets the Helm release name passed to `helm upgrade --install`.
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 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