Skip to content

ClusterHelmApplicationProps

Properties for defining a ClusterHelmApplication.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cs-clusterhelmapplication

Initializer

import { ClusterHelmApplicationProps } from '@alicloud/ros-cdk-cs'
const clusterHelmApplicationProps: ClusterHelmApplicationProps = { ... }

Properties

Name Type Description
chartUrl string | @alicloud/ros-cdk-core.IResolvable Property chartUrl: The URL of chart.
clusterId string | @alicloud/ros-cdk-core.IResolvable Property clusterId: The ID of the kubernetes cluster.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name for helm release.
chartValues @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property chartValues: Chart custom values.
credential @alicloud/ros-cdk-core.IResolvable | CredentialProperty Property credential: The credential of ACR repo.
ignoreExisting string | @alicloud/ros-cdk-core.IResolvable Property ignoreExisting: How to ignore existing helm application: Disabled(default): If a helm application with the same name exists, an error will be reported when creating it.
namespace string | @alicloud/ros-cdk-core.IResolvable Property namespace: Namespace to use with helm.
namespaceDeletion boolean | @alicloud/ros-cdk-core.IResolvable Property namespaceDeletion: Whether to delete the namespace specified.
rolePolicy string | @alicloud/ros-cdk-core.IResolvable Property rolePolicy: Before deploying the application, check the policies associated with the roles of the current user.
validationMode string | @alicloud/ros-cdk-core.IResolvable Property validationMode: Validation modes include: - Basic: basic validation, such as verifying the existence of a cluster.
waitUntil @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | WaitUntilProperty[] Property waitUntil: After starting a creation or update, wait until all conditions are met.

chartUrlRequired

public readonly chartUrl: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property chartUrl: The URL of chart.

Supports HTTP or HTTPS.


clusterIdRequired

public readonly clusterId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property clusterId: The ID of the kubernetes cluster.


nameRequired

public readonly name: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property name: The name for helm release.


chartValuesOptional

public readonly chartValues: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property chartValues: Chart custom values.


credentialOptional

public readonly credential: IResolvable | CredentialProperty;

Property credential: The credential of ACR repo.

Only take effects when ChartUrl is the address of ACR repo.


ignoreExistingOptional

public readonly ignoreExisting: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property ignoreExisting: How to ignore existing helm application: Disabled(default): If a helm application with the same name exists, an error will be reported when creating it.

SkipInstallIfExisting: If there is a helm application with the same name, the helm application creation process will be ignored. SkipAllOperationsIfExisting: If there is a helm application with the same name, the helm application creation process will be ignored. If the helm application is not created by this resource, it will be ignored during update and delete stage.


namespaceOptional

public readonly namespace: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property namespace: Namespace to use with helm.

Default is default. If the Namespace does not exist, ROS will automatically create it and delete it during the deletion phase.


namespaceDeletionOptional

public readonly namespaceDeletion: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property namespaceDeletion: Whether to delete the namespace specified.

If Namespace is in ('default', 'kube-node-lease', 'kube-public', 'kube-system', 'arms-prom'), no matter whether NamespaceDeletion is true or not, it will not be deleted.


rolePolicyOptional

public readonly rolePolicy: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property rolePolicy: Before deploying the application, check the policies associated with the roles of the current user.

Valid values: - EnsureAdminRoleAndBinding: Automatically create a role named "ros:application-admin:${user-id}" with administrator permissions and bind it to the current user. - None: Do nothing. The default value is EnsureAdminRoleAndBinding.


validationModeOptional

public readonly validationMode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property validationMode: Validation modes include: - Basic: basic validation, such as verifying the existence of a cluster.

Strict: in addition to basic validation, also validate the legality of WaitUntil.


waitUntilOptional

public readonly waitUntil: IResolvable | IResolvable | WaitUntilProperty[];
  • Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | WaitUntilProperty[]

Property waitUntil: After starting a creation or update, wait until all conditions are met.