Skip to content

Commit

Permalink
Fixed e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Juraci Paixão Kröhling <[email protected]>
  • Loading branch information
jpkrohling committed Feb 28, 2020
1 parent d2b459c commit 74cb863
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func prepare(t *testing.T) (*framework.TestCtx, error) {

crb := &rbac.ClusterRoleBinding{
ObjectMeta: metav1.ObjectMeta{
Name: namespace + "jaeger-operator-cluster",
Name: namespace + "jaeger-operator",
OwnerReferences: []metav1.OwnerReference{
{
Name: ns.Name,
Expand All @@ -126,7 +126,7 @@ func prepare(t *testing.T) (*framework.TestCtx, error) {
Name: "jaeger-operator",
Namespace: namespace,
}},
RoleRef: rbac.RoleRef{Kind: "ClusterRole", Name: "jaeger-operator-cluster"},
RoleRef: rbac.RoleRef{Kind: "ClusterRole", Name: "jaeger-operator"},
}

if _, err := framework.Global.KubeClient.RbacV1().ClusterRoleBindings().Create(crb); err != nil {
Expand Down

0 comments on commit 74cb863

Please sign in to comment.