Skip to content

Commit

Permalink
[condition] add redis condition
Browse files Browse the repository at this point in the history
  • Loading branch information
stuggi committed Apr 10, 2024
1 parent 9a33639 commit d22e327
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 @@ -79,6 +79,9 @@ const (

// TLSInputReadyCondition Status=True condition when required TLS sources are ready
TLSInputReadyCondition Type = "TLSInputReady"

// RedisReadyCondition - Indicates the redis service is ready to be consumed
RedisReadyCondition Type = "RedisReady"
)

// Common Reasons used by API objects.
Expand Down Expand Up @@ -316,6 +319,21 @@ const (

// TLSInputErrorMessage - Provides the message when there's error in provision of TLS sources
TLSInputErrorMessage = "TLSInput error occured in TLS sources %s"

//
// RedisReady condition messages
//
// RedisReadyInitMessage -
RedisReadyInitMessage = " Redis create not started"

// RedisReadyMessage - Provides the message to clarify redis has been provisioned
RedisReadyMessage = " Redis instance has been provisioned"

// RedisReadyWaitingMessage - Provides the message to clarify redis has not been provisioned
RedisReadyWaitingMessage = " Redis instance has not been provisioned"

// RedisReadyErrorMessage -
RedisReadyErrorMessage = " Redis error occurred %s"
)

// Common Messages used for service accounts, roles, role bindings
Expand Down

0 comments on commit d22e327

Please sign in to comment.