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)
// .namespace(java.lang.String)
// .namespace(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. |
namespace |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property namespace: Namespace to use with helm. |
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.List |
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();
- Type: com.aliyun.ros.cdk.core.IResolvable OR CredentialProperty
Property credential: The credential of ACR repo.
Only take effects when ChartUrl is the address of ACR repo.
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.
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.List
WaitUntilProperty>
Property waitUntil: After starting a creation or update, wait until all conditions are met.