Skip to content

Commit

Permalink
Merge remote-tracking branch 'fork/tokenclaims-type' into tokenclaims…
Browse files Browse the repository at this point in the history
…-type
  • Loading branch information
sbryzak committed Sep 7, 2023
2 parents ed29c3b + cff8134 commit 9c61b3e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
17 changes: 17 additions & 0 deletions api/v1alpha1/spacebindingrequest_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,23 @@ const (
SpaceBindingRequestLabelKey = LabelKeyPrefix + "spacebindingrequest"
// SpaceBindingRequestNamespaceLabelKey is a label on the SpaceBinding, and will hold the namespace of the SpaceBindingRequest that created the SpaceBinding resource.
SpaceBindingRequestNamespaceLabelKey = LabelKeyPrefix + "spacebindingrequest-namespace"

// --- Status condition reasons ---

// SpaceBindingRequestTerminatingReason represents the reason for space binding request termination.
SpaceBindingRequestTerminatingReason = terminatingReason

// SpaceBindingRequestTerminatingFailedReason represents the reason for a failed space binding request termination.
SpaceBindingRequestTerminatingFailedReason = terminatingFailedReason

// SpaceBindingRequestUnableToCreateSpaceBindingReason represents the reason for a failed space binding creation.
SpaceBindingRequestUnableToCreateSpaceBindingReason = UnableToCreateSpaceBinding

// SpaceBindingRequestProvisioningReason represents the reason for space binding request provisioning.
SpaceBindingRequestProvisioningReason = provisioningReason

// SpaceBindingRequestProvisionedReason represents the reason for a successfully provisioned space binding request.
SpaceBindingRequestProvisionedReason = provisionedReason
)

// SpaceBindingRequestSpec defines the desired state of SpaceBindingRequest
Expand Down
3 changes: 2 additions & 1 deletion api/v1alpha1/usersignup_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const (
UserSignupStateLabelValueBanned = "banned"

// Status condition reasons
UnableToCreateSpaceBinding = "UnableToCreateSpaceBinding"
UserSignupNoClusterAvailableReason = "NoClusterAvailable"
UserSignupNoUserTierAvailableReason = "NoUserTierAvailable"
UserSignupNoTemplateTierAvailableReason = "NoTemplateTierAvailable"
Expand All @@ -77,7 +78,7 @@ const (
UserSignupUnableToUpdateStateLabelReason = "UnableToUpdateStateLabel"
UserSignupUnableToDeleteMURReason = "UnableToDeleteMUR"
UserSignupUnableToCreateSpaceReason = "UnableToCreateSpace"
UserSignupUnableToCreateSpaceBindingReason = "UnableToCreateSpaceBinding"
UserSignupUnableToCreateSpaceBindingReason = UnableToCreateSpaceBinding
UserSignupProvisioningSpaceReason = "ProvisioningSpace"

// The UserSignupUserDeactivatingReason constant will be replaced with UserSignupDeactivationInProgressReason
Expand Down

0 comments on commit 9c61b3e

Please sign in to comment.