Skip to content

ClusterHelmApplicationProps

Properties for defining a ClusterHelmApplication.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcs"
&alicloudroscdkcs.ClusterHelmApplicationProps {
    ChartUrl: interface{},
    ClusterId: interface{},
    Name: interface{},
    ChartValues: interface{},
    Credential: interface{},
    IgnoreExisting: interface{},
    Namespace: interface{},
    NamespaceDeletion: interface{},
    RolePolicy: interface{},
    ValidationMode: interface{},
    WaitUntil: interface{},
}

Properties

Name Type Description
ChartUrl interface{} Property chartUrl: The URL of chart.
ClusterId interface{} Property clusterId: The ID of the kubernetes cluster.
Name interface{} Property name: The name for helm release.
ChartValues interface{} Property chartValues: Chart custom values.
Credential interface{} Property credential: The credential of ACR repo.
IgnoreExisting interface{} 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 interface{} Property namespace: Namespace to use with helm.
NamespaceDeletion interface{} Property namespaceDeletion: Whether to delete the namespace specified.
RolePolicy interface{} Property rolePolicy: Before deploying the application, check the policies associated with the roles of the current user.
ValidationMode interface{} Property validationMode: Validation modes include: - Basic: basic validation, such as verifying the existence of a cluster.
WaitUntil interface{} Property waitUntil: After starting a creation or update, wait until all conditions are met.

ChartUrlRequired

ChartUrl interface{}
  • Type: interface{}

Property chartUrl: The URL of chart.

Supports HTTP or HTTPS.


ClusterIdRequired

ClusterId interface{}
  • Type: interface{}

Property clusterId: The ID of the kubernetes cluster.


NameRequired

Name interface{}
  • Type: interface{}

Property name: The name for helm release.


ChartValuesOptional

ChartValues interface{}
  • Type: interface{}

Property chartValues: Chart custom values.


CredentialOptional

Credential interface{}
  • Type: interface{}

Property credential: The credential of ACR repo.

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


IgnoreExistingOptional

IgnoreExisting interface{}
  • Type: interface{}

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

Namespace interface{}
  • Type: interface{}

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

NamespaceDeletion interface{}
  • Type: interface{}

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

RolePolicy interface{}
  • Type: interface{}

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

ValidationMode interface{}
  • Type: interface{}

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

WaitUntil interface{}
  • Type: interface{}

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