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{},
Namespace: 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. |
Namespace |
interface{} |
Property namespace: Namespace to use with helm. |
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. |
ChartUrl
Required
ChartUrl interface{}
- Type: interface{}
Property chartUrl: The URL of chart.
Supports HTTP or HTTPS.
ClusterId
Required
ClusterId interface{}
- Type: interface{}
Property clusterId: The ID of the kubernetes cluster.
Name
Required
Name interface{}
- Type: interface{}
Property name: The name for helm release.
ChartValues
Optional
ChartValues interface{}
- Type: interface{}
Property chartValues: Chart custom values.
Credential
Optional
Credential interface{}
- Type: interface{}
Property credential: The credential of ACR repo.
Only take effects when ChartUrl is the address of ACR repo.
Namespace
Optional
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.
RolePolicy
Optional
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.
ValidationMode
Optional
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.
WaitUntil
Optional
WaitUntil interface{}
- Type: interface{}
Property waitUntil: After starting a creation or update, wait until all conditions are met.