HelmChartProps
- class aws_cdk.aws_eks_v2_alpha.HelmChartProps(*, atomic=None, chart=None, chart_asset=None, create_namespace=None, namespace=None, release=None, removal_policy=None, repository=None, skip_crds=None, timeout=None, values=None, version=None, wait=None, cluster)
Bases:
HelmChartOptions(experimental) Helm Chart properties.
- Parameters:
atomic (
Optional[bool]) – (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: falsechart (
Optional[str]) – (experimental) The name of the chart. Either this orchartAssetmust be specified. Default: - No chart name. ImplieschartAssetis used.chart_asset (
Optional[Asset]) – (experimental) The chart in the form of an asset. Either this orchartmust be specified. Default: - No chart asset. Implieschartis used.create_namespace (
Optional[bool]) – (experimental) create namespace if not exist. Default: truenamespace (
Optional[str]) – (experimental) The Kubernetes namespace scope of the requests. Default: defaultrelease (
Optional[str]) – (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.removal_policy (
Optional[RemovalPolicy]) – (experimental) The removal policy applied to the custom resource that manages the Helm chart. The removal policy controls what happens to the resource if it stops being managed by CloudFormation. This can happen in one of three situations: - The resource is removed from the template, so CloudFormation stops managing it - A change to the resource is made that requires it to be replaced, so CloudFormation stops managing it - The stack is deleted, so CloudFormation stops managing all resources in it Default: RemovalPolicy.DESTROYrepository (
Optional[str]) – (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.skip_crds (
Optional[bool]) – (experimental) if set, no CRDs will be installed. Default: - CRDs are installed if not already presenttimeout (
Optional[Duration]) – (experimental) Amount of time to wait for any individual Kubernetes operation. Maximum 15 minutes. Default: Duration.minutes(5)values (
Optional[Mapping[str,Any]]) – (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.version (
Optional[str]) – (experimental) The chart version to install. Default: - If this is not specified, the latest version is installedwait (
Optional[bool]) – (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 successfulcluster (
ICluster) – (experimental) The EKS cluster to apply this configuration to. [disable-awslint:ref-via-interface]
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# cluster: eks.Cluster # option 1: use a construct eks.HelmChart(self, "MyOCIChart", cluster=cluster, chart="some-chart", repository="oci://${ACCOUNT_ID}.dkr.ecr.${ACCOUNT_REGION}.amazonaws.com/${REPO_NAME}", namespace="oci", version="0.0.1" )
Attributes
- atomic
(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
- Stability:
experimental
- chart
(experimental) The name of the chart.
Either this or
chartAssetmust be specified.- Default:
No chart name. Implies
chartAssetis used.
- Stability:
experimental
- chart_asset
(experimental) The chart in the form of an asset.
Either this or
chartmust be specified.- Default:
No chart asset. Implies
chartis used.
- Stability:
experimental
- cluster
(experimental) The EKS cluster to apply this configuration to.
[disable-awslint:ref-via-interface]
- Stability:
experimental
- create_namespace
(experimental) create namespace if not exist.
- Default:
true
- Stability:
experimental
- namespace
(experimental) The Kubernetes namespace scope of the requests.
- Default:
default
- Stability:
experimental
- release
(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.
- Stability:
experimental
- removal_policy
(experimental) The removal policy applied to the custom resource that manages the Helm chart.
The removal policy controls what happens to the resource if it stops being managed by CloudFormation. This can happen in one of three situations:
The resource is removed from the template, so CloudFormation stops managing it
A change to the resource is made that requires it to be replaced, so CloudFormation stops managing it
The stack is deleted, so CloudFormation stops managing all resources in it
- Default:
RemovalPolicy.DESTROY
- Stability:
experimental
- repository
(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.
- Stability:
experimental
- skip_crds
(experimental) if set, no CRDs will be installed.
- Default:
CRDs are installed if not already present
- Stability:
experimental
- timeout
(experimental) Amount of time to wait for any individual Kubernetes operation.
Maximum 15 minutes.
- Default:
Duration.minutes(5)
- Stability:
experimental
- values
(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.
- Stability:
experimental
- version
(experimental) The chart version to install.
- Default:
If this is not specified, the latest version is installed
- Stability:
experimental
- wait
(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
- Stability:
experimental