Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[condition] Add CreateServiceReadyCondition #572

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
gibizer marked this conversation as resolved.
Show resolved Hide resolved

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
Loading