File tree 2 files changed +215
-193
lines changed
frontend/src/routes/Infrastructure/Clusters/ManagedClusters/ImportCluster
2 files changed +215
-193
lines changed Original file line number Diff line number Diff line change @@ -292,8 +292,9 @@ const mockROSAAutoTokenSecretAPIToken: Secret = {
292
292
} ,
293
293
stringData : {
294
294
autoImportRetry : '2' ,
295
- api_token : 'fake_token' ,
296
295
cluster_id : '39ldt3r51vjjsho1eqntrg3m' ,
296
+ auth_method : 'offline-token' ,
297
+ api_token : 'fake_token' ,
297
298
} ,
298
299
type : 'auto-import/rosa' ,
299
300
}
@@ -307,8 +308,10 @@ const mockROSAAutoTokenSecretServiceAcc: Secret = {
307
308
} ,
308
309
stringData : {
309
310
autoImportRetry : '2' ,
310
- api_token : '' ,
311
311
cluster_id : '39ldt3r51vjjsho1eqntrg3m' ,
312
+ auth_method : 'service-account' ,
313
+ client_id : 'fake_client_id1234' ,
314
+ client_secret : 'fake_client_secret1234' ,
312
315
} ,
313
316
type : 'auto-import/rosa' ,
314
317
}
You can’t perform that action at this time.
0 commit comments