Skip to content

Commit

Permalink
resolve groups "impersonategroup" already exists error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Minter committed Aug 28, 2017
1 parent a3dc11e commit d1d7320
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/extended/templates/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ func createUser(cli *exutil.CLI, name, role string) *userapi.User {
}

func createGroup(cli *exutil.CLI, name, role string) *userapi.Group {
name = cli.Namespace() + "-" + name

group, err := cli.AdminClient().Groups().Create(&userapi.Group{
ObjectMeta: metav1.ObjectMeta{
Name: name,
Expand Down

0 comments on commit d1d7320

Please sign in to comment.