Skip to content

Commit

Permalink
Add InstancePendingForceDelete instance status
Browse files Browse the repository at this point in the history
The InstancePendingForceDelete instance status is meant to signal that the operator
wishes to forcefully remove the runner in spite of any provider error. This has the
potential to orphan resources in your IaaS, but will help in situations in which
the operator deems it necessary to ignore such errors. This may include situations in
which the provider is misconfigured in GARM or when credentials change or expire.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
  • Loading branch information
gabriel-samfira committed Oct 12, 2023
1 parent d972653 commit 08728c9
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions params/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,15 @@ const (
)

const (
InstanceRunning InstanceStatus = "running"
InstanceStopped InstanceStatus = "stopped"
InstanceError InstanceStatus = "error"
InstancePendingDelete InstanceStatus = "pending_delete"
InstanceDeleting InstanceStatus = "deleting"
InstancePendingCreate InstanceStatus = "pending_create"
InstanceCreating InstanceStatus = "creating"
InstanceStatusUnknown InstanceStatus = "unknown"
InstanceRunning InstanceStatus = "running"
InstanceStopped InstanceStatus = "stopped"
InstanceError InstanceStatus = "error"
InstancePendingDelete InstanceStatus = "pending_delete"
InstancePendingForceDelete InstanceStatus = "pending_force_delete"
InstanceDeleting InstanceStatus = "deleting"
InstancePendingCreate InstanceStatus = "pending_create"
InstanceCreating InstanceStatus = "creating"
InstanceStatusUnknown InstanceStatus = "unknown"
)

const (
Expand Down

0 comments on commit 08728c9

Please sign in to comment.