File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ var _ = ginkgo.Describe("test clusteradm with bootstrap token in singleton mode"
83
83
// Ensure that the auto approval identities contain user for CSR and pattern for AWS
84
84
gomega .Expect (cm .Spec .RegistrationConfiguration .RegistrationDrivers [0 ].AuthType ).Should (gomega .Equal ("awsirsa" ))
85
85
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/*" ))
88
88
89
89
err = e2e .Clusteradm ().Init (
90
90
"--use-bootstrap-token" ,
You can’t perform that action at this time.
0 commit comments