Skip to content

Commit

Permalink
review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
ebensom committed May 21, 2024
1 parent 040f58b commit 21d2923
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ const (

ownerClusterRoleBindingRoleRefName = "cluster-admin"

groupKindSubject = "Group"
userKindSubject = "User"
userKindSubject = "User"
)

//go:generate mockery --name=DynamicKubeconfigProvider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ import (
)

const dynamicKubeconfig = "dynamic_kubeconfig"
const testAdministrator = "testadmin"
const testAdministrator1 = "testadmin1"
const testAdministrator2 = "testadmin2"

func TestCreateBindingsForOperatorsStep_Run(t *testing.T) {

Expand All @@ -34,7 +35,7 @@ func TestCreateBindingsForOperatorsStep_Run(t *testing.T) {
ClusterConfig: model.GardenerConfig{
Name: "shoot",
},
Administrators: []string{testAdministrator},
Administrators: []string{testAdministrator1, testAdministrator2},
}

operatorBindingConfig := OperatorRoleBinding{
Expand Down

0 comments on commit 21d2923

Please sign in to comment.