1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

Synchronize v2alpha1 with v1

This commit is contained in:
ubuntu 2023-01-02 18:17:08 +00:00
parent ed74418b8f
commit d59c2d7bbc
No known key found for this signature in database
GPG key ID: BD072E1332E4C605

View file

@ -131,6 +131,8 @@ const (
ActionRuntimeContainerArgsLogLevelUpdateDefaultTimeout time.Duration = ActionsDefaultTimeout
// ActionRuntimeContainerImageUpdateDefaultTimeout define default timeout for action ActionRuntimeContainerImageUpdate
ActionRuntimeContainerImageUpdateDefaultTimeout time.Duration = ActionsDefaultTimeout
// ActionRuntimeContainerSyncTolerationsDefaultTimeout define default timeout for action ActionRuntimeContainerSyncTolerations
ActionRuntimeContainerSyncTolerationsDefaultTimeout time.Duration = ActionsDefaultTimeout
// ActionSetConditionDefaultTimeout define default timeout for action ActionSetCondition
ActionSetConditionDefaultTimeout time.Duration = ActionsDefaultTimeout
// ActionSetConditionV2DefaultTimeout define default timeout for action ActionSetConditionV2
@ -284,6 +286,8 @@ const (
ActionTypeRuntimeContainerArgsLogLevelUpdate ActionType = "RuntimeContainerArgsLogLevelUpdate"
// ActionTypeRuntimeContainerImageUpdate in scopes Normal. Update Container Image in runtime
ActionTypeRuntimeContainerImageUpdate ActionType = "RuntimeContainerImageUpdate"
// ActionTypeRuntimeContainerSyncTolerations in scopes Normal. Update Pod Tolerations in runtime
ActionTypeRuntimeContainerSyncTolerations ActionType = "RuntimeContainerSyncTolerations"
// ActionTypeSetCondition in scopes High. (Deprecated) Set deployment condition
ActionTypeSetCondition ActionType = "SetCondition"
// ActionTypeSetConditionV2 in scopes High. Set deployment condition
@ -438,6 +442,8 @@ func (a ActionType) DefaultTimeout() time.Duration {
return ActionRuntimeContainerArgsLogLevelUpdateDefaultTimeout
case ActionTypeRuntimeContainerImageUpdate:
return ActionRuntimeContainerImageUpdateDefaultTimeout
case ActionTypeRuntimeContainerSyncTolerations:
return ActionRuntimeContainerSyncTolerationsDefaultTimeout
case ActionTypeSetCondition:
return ActionSetConditionDefaultTimeout
case ActionTypeSetConditionV2:
@ -596,6 +602,8 @@ func (a ActionType) Priority() ActionPriority {
return ActionPriorityNormal
case ActionTypeRuntimeContainerImageUpdate:
return ActionPriorityNormal
case ActionTypeRuntimeContainerSyncTolerations:
return ActionPriorityNormal
case ActionTypeSetCondition:
return ActionPriorityHigh
case ActionTypeSetConditionV2: