Skip to content

Commit

Permalink
Add target cluster to social event (#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeykazakov authored Aug 15, 2024
1 parent cce0708 commit d0c164a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion api/v1alpha1/docs/apiref.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2382,7 +2382,8 @@ may register for the event by using the event's unique activation code
This must be the valid name of an nstemplatetier resource. + | |
| *`spaceTier`* __string__ | The tier to assign to spaces created for users who registered for the event. +
This must be the valid name of an nstemplatetier resource. + | |
| *`preferSameCluster`* __boolean__ | If true, best effort is made to provision all attendees of the event on the same cluster + | |
| *`targetCluster`* __string__ | The cluster in which the user/space should be provisioned in +
If not set then the target cluster will be picked automatically + | |
| *`verificationRequired`* __boolean__ | If true, the user will also be required to complete standard phone verification + | |
|===

Expand Down
5 changes: 3 additions & 2 deletions api/v1alpha1/socialevent_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ type SocialEventSpec struct {
// This must be the valid name of an nstemplatetier resource.
SpaceTier string `json:"spaceTier"`

// If true, best effort is made to provision all attendees of the event on the same cluster
// The cluster in which the user/space should be provisioned in
// If not set then the target cluster will be picked automatically
// +optional
PreferSameCluster bool `json:"preferSameCluster,omitempty"`
TargetCluster string `json:"targetCluster,omitempty"`

// If true, the user will also be required to complete standard phone verification
// +optional
Expand Down
6 changes: 3 additions & 3 deletions api/v1alpha1/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d0c164a

Please sign in to comment.