HelmChartOptions Struct
Helm Chart options.
| Source | aws-eks/lib/helm-chart.ts |
|---|---|
| Type last changed |
Example
declare const cluster: eks.Cluster;
const chart1 = cluster.addHelmChart('MyChart', {
chart: 'foo',
});
const chart2 = cluster.addHelmChart('MyChart', {
chart: 'bar',
});
chart2.node.addDependency(chart1);
# cluster: eks.Cluster
chart1 = cluster.add_helm_chart("MyChart",
chart="foo"
)
chart2 = cluster.add_helm_chart("MyChart",
chart="bar"
)
chart2.node.add_dependency(chart1)
Cluster cluster;
HelmChart chart1 = cluster.addHelmChart("MyChart", HelmChartOptions.builder()
.chart("foo")
.build());
HelmChart chart2 = cluster.addHelmChart("MyChart", HelmChartOptions.builder()
.chart("bar")
.build());
chart2.node.addDependency(chart1);
// Install: dotnet add package Amazon.CDK.Lib
Cluster cluster;
var chart1 = cluster.AddHelmChart("MyChart", new HelmChartOptions {
Chart = "foo"
});
var chart2 = cluster.AddHelmChart("MyChart", new HelmChartOptions {
Chart = "bar"
});
chart2.Node.AddDependency(chart1);
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
var cluster Cluster
chart1 := cluster.addHelmChart(jsii.String("MyChart"), &HelmChartOptions{
Chart: jsii.String("foo"),
})
chart2 := cluster.addHelmChart(jsii.String("MyChart"), &HelmChartOptions{
Chart: jsii.String("bar"),
})
chart2.Node.AddDependency(chart1)
Properties
atomicoptionalbooleanatomicoptionalboolatomicoptionalBooleanAtomicoptionalboolAtomicoptional*bool = false #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: No chart name. Implies chartAsset is used.
Either this or chartAsset must be specified.
chartAssetoptionalAssetchart_assetoptionalAssetchartAssetoptionalAssetChartAssetoptionalAssetChartAssetoptionalAsset #Default: No chart asset. Implies chart is used.
Either this or chart must be specified.
createNamespaceoptionalbooleancreate_namespaceoptionalboolcreateNamespaceoptionalBooleanCreateNamespaceoptionalboolCreateNamespaceoptional*bool = true #namespaceoptionalstringnamespaceoptionalstrnamespaceoptionalStringNamespaceoptionalstringNamespaceoptional*string = default #releaseoptionalstringreleaseoptionalstrreleaseoptionalStringReleaseoptionalstringReleaseoptional*string #Default: If no release name is given, it will use the last 53 characters of the node's unique id.
removalPolicyoptionalRemovalPolicyremoval_policyoptionalRemovalPolicyremovalPolicyoptionalRemovalPolicyRemovalPolicyoptionalRemovalPolicyRemovalPolicyoptionalRemovalPolicy = RemovalPolicy.DESTROY #notes
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
repositoryoptionalstringrepositoryoptionalstrrepositoryoptionalStringRepositoryoptionalstringRepositoryoptional*string #Default: No repository will be used, which means that the chart needs to be an absolute URL.
For example: https://charts.helm.sh/stable/
skipCrdsoptionalbooleanskip_crdsoptionalboolskipCrdsoptionalBooleanSkipCrdsoptionalboolSkipCrdsoptional*bool #Default: CRDs are installed if not already present
timeoutoptionalDurationtimeoutoptionalDurationtimeoutoptionalDurationTimeoutoptionalDurationTimeoutoptionalDuration = Duration.minutes(5) #Maximum 15 minutes.
valuesoptional{ [key: string]: any }valuesoptionaltyping.Mapping[str, Any]valuesoptionalMap<String, Object>ValuesoptionalIDictionary<string, object>Valuesoptional*map[string]interface{} #Default: No values are provided to the chart.
notes
For nested values use a nested dictionary. For example: values: { installationCRDs: true, webhook: { port: 9443 } }
In languages other than TypeScript and JavaScript, null values (such as None in Python) are dropped when crossing the jsii boundary. To pass null values to the chart, see the "Helm Charts" section of the module README.
versionoptionalstringversionoptionalstrversionoptionalStringVersionoptionalstringVersionoptional*string #Default: If this is not specified, the latest version is installed
Default: Helm will not wait before marking release as successful