Interface HelmChartOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
HelmChartProps
- All Known Implementing Classes:
HelmChartOptions.Jsii$Proxy,HelmChartProps.Jsii$Proxy
Example:
import software.amazon.awscdk.services.s3.assets.*;
Cluster cluster;
Asset chartAsset = Asset.Builder.create(this, "ChartAsset")
.path("/path/to/asset")
.build();
cluster.addHelmChart("test-chart", HelmChartOptions.builder()
.chartAsset(chartAsset)
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHelmChartOptionsstatic final classAn implementation forHelmChartOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic HelmChartOptions.Builderbuilder()default Boolean(experimental) Whether or not Helm should treat this operation as atomic;default StringgetChart()(experimental) The name of the chart.default Asset(experimental) The chart in the form of an asset.default Boolean(experimental) create namespace if not exist.default String(experimental) The Kubernetes namespace scope of the requests.default String(experimental) The name of the release.default String(experimental) The repository which contains the chart.default Boolean(experimental) if set, no CRDs will be installed.default Duration(experimental) Amount of time to wait for any individual Kubernetes operation.(experimental) The values to be used by the chart.default String(experimental) The chart version to install.default BooleangetWait()(experimental) Whether or not Helm should 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.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAtomic
(experimental) Whether or not Helm should treat this operation as atomic;if set, upgrade process rolls back changes made in case of failed upgrade. The --wait flag will be set automatically if --atomic is used.
Default: false
-
getChart
(experimental) The name of the chart.Either this or
chartAssetmust be specified.Default: - No chart name. Implies `chartAsset` is used.
-
getChartAsset
(experimental) The chart in the form of an asset.Either this or
chartmust be specified.Default: - No chart asset. Implies `chart` is used.
-
getCreateNamespace
(experimental) create namespace if not exist.Default: true
-
getNamespace
(experimental) The Kubernetes namespace scope of the requests.Default: default
-
getRelease
(experimental) The name of the release.Default: - If no release name is given, it will use the last 53 characters of the node's unique id.
-
getRepository
(experimental) The repository which contains the chart.For example: https://charts.helm.sh/stable/
Default: - No repository will be used, which means that the chart needs to be an absolute URL.
-
getSkipCrds
(experimental) if set, no CRDs will be installed.Default: - CRDs are installed if not already present
-
getTimeout
(experimental) Amount of time to wait for any individual Kubernetes operation.Maximum 15 minutes.
Default: Duration.minutes(5)
-
getValues
(experimental) The values to be used by the chart.For nested values use a nested dictionary. For example: values: { installationCRDs: true, webhook: { port: 9443 } }
Default: - No values are provided to the chart.
-
getVersion
(experimental) The chart version to install.Default: - If this is not specified, the latest version is installed
-
getWait
(experimental) Whether or not Helm should 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.Default: - Helm will not wait before marking release as successful
-
builder
- Returns:
- a
HelmChartOptions.BuilderofHelmChartOptions
-