Skip to content

Commit 2e21916

Browse files
committed
fix e2e.
Signed-off-by: Ramesh Krishna <[email protected]>
1 parent d530bde commit 2e21916

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/clusteradm/init_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ var _ = ginkgo.Describe("test clusteradm with bootstrap token in singleton mode"
8383
// Ensure that the auto approval identities contain user for CSR and pattern for AWS
8484
gomega.Expect(cm.Spec.RegistrationConfiguration.RegistrationDrivers[0].AuthType).Should(gomega.Equal("awsirsa"))
8585
gomega.Expect(cm.Spec.RegistrationConfiguration.RegistrationDrivers[1].AuthType).Should(gomega.Equal("csr"))
86-
gomega.Expect(cm.Spec.RegistrationConfiguration.RegistrationDrivers[1].AutoApprovedIdentities).Should(gomega.Equal("csr1"))
87-
gomega.Expect(cm.Spec.RegistrationConfiguration.RegistrationDrivers[0].AutoApprovedIdentities).Should(gomega.Equal("arn:aws:eks:us-west-2:123456789012:cluster/*"))
86+
gomega.Expect(cm.Spec.RegistrationConfiguration.RegistrationDrivers[1].AutoApprovedIdentities[0]).Should(gomega.Equal("csr1"))
87+
gomega.Expect(cm.Spec.RegistrationConfiguration.RegistrationDrivers[0].AutoApprovedIdentities[0]).Should(gomega.Equal("arn:aws:eks:us-west-2:123456789012:cluster/*"))
8888

8989
err = e2e.Clusteradm().Init(
9090
"--use-bootstrap-token",

0 commit comments

Comments
 (0)