ClusterHelmApplicationProps
Properties for defining a ClusterHelmApplication.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cs-clusterhelmapplication
Initializer
using AlibabaCloud.SDK.ROS.CDK.Cs;
new ClusterHelmApplicationProps {
object ChartUrl,
object ClusterId,
object Name,
object ChartValues = null,
object Credential = null,
object IgnoreExisting = null,
object Namespace = null,
object NamespaceDeletion = null,
object RolePolicy = null,
object ValidationMode = null,
object WaitUntil = null
};
Properties
| Name | Type | Description |
|---|---|---|
ChartUrl | object | Property chartUrl: The URL of chart. |
ClusterId | object | Property clusterId: The ID of the kubernetes cluster. |
Name | object | Property name: The name for helm release. |
ChartValues | object | Property chartValues: Chart custom values. |
Credential | object | Property credential: The credential of ACR repo. |
IgnoreExisting | object | 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 | object | Property namespace: Namespace to use with helm. |
NamespaceDeletion | object | Property namespaceDeletion: Whether to delete the namespace specified. |
RolePolicy | object | Property rolePolicy: Before deploying the application, check the policies associated with the roles of the current user. |
ValidationMode | object | Property validationMode: Validation modes include: - Basic: basic validation, such as verifying the existence of a cluster. |
WaitUntil | object | Property waitUntil: After starting a creation or update, wait until all conditions are met. |
ChartUrlRequired
public object ChartUrl { get; set; }
- Type: object
Property chartUrl: The URL of chart.
Supports HTTP or HTTPS.
ClusterIdRequired
public object ClusterId { get; set; }
- Type: object
Property clusterId: The ID of the kubernetes cluster.
NameRequired
public object Name { get; set; }
- Type: object
Property name: The name for helm release.
ChartValuesOptional
public object ChartValues { get; set; }
- Type: object
Property chartValues: Chart custom values.
CredentialOptional
public object Credential { get; set; }
- Type: object
Property credential: The credential of ACR repo.
Only take effects when ChartUrl is the address of ACR repo.
IgnoreExistingOptional
public object IgnoreExisting { get; set; }
- Type: object
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 object Namespace { get; set; }
- Type: object
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 object NamespaceDeletion { get; set; }
- Type: object
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 object RolePolicy { get; set; }
- Type: object
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 object ValidationMode { get; set; }
- Type: object
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 object WaitUntil { get; set; }
- Type: object
Property waitUntil: After starting a creation or update, wait until all conditions are met.