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 class
A builder forHelmChartOptions
static final class
An implementation forHelmChartOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic HelmChartOptions.Builder
builder()
default Boolean
Whether or not Helm should treat this operation as atomic;default String
getChart()
The name of the chart.default Asset
The chart in the form of an asset.default Boolean
create namespace if not exist.default String
The Kubernetes namespace scope of the requests.default String
The name of the release.default String
The repository which contains the chart.default Boolean
if set, no CRDs will be installed.default Duration
Amount of time to wait for any individual Kubernetes operation.The values to be used by the chart.default String
The chart version to install.default Boolean
getWait()
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
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
The name of the chart.Either this or
chartAsset
must be specified.Default: - No chart name. Implies `chartAsset` is used.
-
getChartAsset
The chart in the form of an asset.Either this or
chart
must be specified.Default: - No chart asset. Implies `chart` is used.
-
getCreateNamespace
create namespace if not exist.Default: true
-
getNamespace
The Kubernetes namespace scope of the requests.Default: default
-
getRelease
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
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
if set, no CRDs will be installed.Default: - CRDs are installed if not already present
-
getTimeout
Amount of time to wait for any individual Kubernetes operation.Maximum 15 minutes.
Default: Duration.minutes(5)
-
getValues
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
The chart version to install.Default: - If this is not specified, the latest version is installed
-
getWait
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.Builder
ofHelmChartOptions
-