Skip to content

Commit

Permalink
[FIX] Bump version fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrián Hernández committed Oct 23, 2023
1 parent 636ca0d commit f268413
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions api/v1beta2/capsuleconfiguration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ type CapsuleConfigurationSpec struct {
// Names of the groups for Capsule users.
// +kubebuilder:default={capsule.clastix.io}
UserGroups []string `json:"userGroups,omitempty"`
// Names of the groups for Capsule users.
ExcludeUserGroups []string `json:"excludeUserGroups,omitempty"`
// Enforces the Tenant owner, during Namespace creation, to name it using the selected Tenant name as prefix,
// separated by a dash. This is useful to avoid Namespace name collision in a public CaaS environment.
// +kubebuilder:default=false
Expand Down
2 changes: 1 addition & 1 deletion pkg/webhook/utils/is_tenant_owner.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
capsulev1beta2 "github.com/clastix/capsule/api/v1beta2"
)

func IsTenantOwner(owners capsulev1beta1.OwnerListSpec, userInfo authenticationv1.UserInfo, capsuleUserName string) bool {
func IsTenantOwner(owners capsulev1beta2.OwnerListSpec, userInfo authenticationv1.UserInfo, capsuleUserName string) bool {
if userInfo.Username == capsuleUserName {
return true
}
Expand Down

0 comments on commit f268413

Please sign in to comment.