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:
parent
ed74418b8f
commit
d59c2d7bbc
1 changed files with 8 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue