Skip to content

Commit 4878b3f

Browse files
authored
Merge pull request #572 from stuggi/createservice_condition
[condition] Add CreateServiceReadyCondition
2 parents 1fa2876 + 5722969 commit 4878b3f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

modules/common/condition/conditions.go

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ const (
3535
// DBSyncReadyCondition Status=True condition when dbsync job completed ok
3636
DBSyncReadyCondition Type = "DBSyncReady"
3737

38+
// CreateServiceReadyCondition Status=True condition when k8s service for the service created ok
39+
CreateServiceReadyCondition Type = "CreateServiceReady"
40+
3841
// ExposeServiceReadyCondition Status=True condition when service/routes to expose the service created ok
3942
ExposeServiceReadyCondition Type = "ExposeServiceReady"
4043

@@ -186,6 +189,21 @@ const (
186189
// DBSyncReadyErrorMessage
187190
DBSyncReadyErrorMessage = "DBsync job error occurred %s"
188191

192+
//
193+
// CreateService condition messages
194+
//
195+
// CreateServiceReadyInitMessage
196+
CreateServiceReadyInitMessage = "Create service not started"
197+
198+
// CreateServiceReadyMessage
199+
CreateServiceReadyMessage = "Create service completed"
200+
201+
// CreateServiceReadyRunningMessage
202+
CreateServiceReadyRunningMessage = "Create service in progress"
203+
204+
// CreateServiceReadyErrorMessage
205+
CreateServiceReadyErrorMessage = "Create service error occurred %s"
206+
189207
//
190208
// ExposeService condition messages
191209
//

0 commit comments

Comments
 (0)