Skip to content

ClusterHelmApplicationProps

Properties for defining a ClusterHelmApplication.

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

Initializer

import com.aliyun.ros.cdk.cs.ClusterHelmApplicationProps;
ClusterHelmApplicationProps.builder()
    .chartUrl(java.lang.String)
    .chartUrl(IResolvable)
    .clusterId(java.lang.String)
    .clusterId(IResolvable)
    .name(java.lang.String)
    .name(IResolvable)
//  .chartValues(IResolvable)
//  .chartValues(java.util.Map<java.lang.String, java.lang.Object>)
//  .credential(IResolvable)
//  .credential(CredentialProperty)
//  .ignoreExisting(java.lang.String)
//  .ignoreExisting(IResolvable)
//  .namespace(java.lang.String)
//  .namespace(IResolvable)
//  .namespaceDeletion(java.lang.Boolean)
//  .namespaceDeletion(IResolvable)
//  .rolePolicy(java.lang.String)
//  .rolePolicy(IResolvable)
//  .validationMode(java.lang.String)
//  .validationMode(IResolvable)
//  .waitUntil(IResolvable)
//  .waitUntil(java.util.List<IResolvable)
//  .waitUntil(WaitUntilProperty>)
    .build();

Properties

Name Type Description
chartUrl java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property chartUrl: The URL of chart.
clusterId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterId: The ID of the kubernetes cluster.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: The name for helm release.
chartValues com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property chartValues: Chart custom values.
credential com.aliyun.ros.cdk.core.IResolvable OR CredentialProperty Property credential: The credential of ACR repo.
ignoreExisting java.lang.String OR com.aliyun.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 java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property namespace: Namespace to use with helm.
namespaceDeletion java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property namespaceDeletion: Whether to delete the namespace specified.
rolePolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property rolePolicy: Before deploying the application, check the policies associated with the roles of the current user.
validationMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property validationMode: Validation modes include: - Basic: basic validation, such as verifying the existence of a cluster.
waitUntil com.aliyun.ros.cdk.core.IResolvable OR java.util.ListWaitUntilProperty> Property waitUntil: After starting a creation or update, wait until all conditions are met.

chartUrlRequired

public java.lang.Object getChartUrl();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property chartUrl: The URL of chart.

Supports HTTP or HTTPS.


clusterIdRequired

public java.lang.Object getClusterId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property clusterId: The ID of the kubernetes cluster.


nameRequired

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property name: The name for helm release.


chartValuesOptional

public java.lang.Object getChartValues();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

Property chartValues: Chart custom values.


credentialOptional

public java.lang.Object getCredential();

Property credential: The credential of ACR repo.

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


ignoreExistingOptional

public java.lang.Object getIgnoreExisting();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getNamespace();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getNamespaceDeletion();
  • Type: java.lang.Boolean OR com.aliyun.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 java.lang.Object getRolePolicy();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getValidationMode();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getWaitUntil();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListWaitUntilProperty>

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