Skip to content

Commit

Permalink
Merge pull request #572 from stuggi/createservice_condition
Browse files Browse the repository at this point in the history
[condition] Add CreateServiceReadyCondition
  • Loading branch information
olliewalsh authored Oct 29, 2024
2 parents 1fa2876 + 5722969 commit 4878b3f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions modules/common/condition/conditions.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ const (
// DBSyncReadyCondition Status=True condition when dbsync job completed ok
DBSyncReadyCondition Type = "DBSyncReady"

// CreateServiceReadyCondition Status=True condition when k8s service for the service created ok
CreateServiceReadyCondition Type = "CreateServiceReady"

// ExposeServiceReadyCondition Status=True condition when service/routes to expose the service created ok
ExposeServiceReadyCondition Type = "ExposeServiceReady"

Expand Down Expand Up @@ -186,6 +189,21 @@ const (
// DBSyncReadyErrorMessage
DBSyncReadyErrorMessage = "DBsync job error occurred %s"

//
// CreateService condition messages
//
// CreateServiceReadyInitMessage
CreateServiceReadyInitMessage = "Create service not started"

// CreateServiceReadyMessage
CreateServiceReadyMessage = "Create service completed"

// CreateServiceReadyRunningMessage
CreateServiceReadyRunningMessage = "Create service in progress"

// CreateServiceReadyErrorMessage
CreateServiceReadyErrorMessage = "Create service error occurred %s"

//
// ExposeService condition messages
//
Expand Down

0 comments on commit 4878b3f

Please sign in to comment.