@@ -50,6 +50,7 @@ const testGetClusterResponseRaw = `
50
50
"provider_name": "keycloak",
51
51
"client_id": "kubernetes",
52
52
"groups_claim": "groups",
53
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
53
54
"issuer_url": "https://example.com/",
54
55
"username_claim": "email"
55
56
}
@@ -101,6 +102,7 @@ var expectedGetClusterResponse = &cluster.View{
101
102
ClientID : "kubernetes" ,
102
103
UsernameClaim : "email" ,
103
104
GroupsClaim : "groups" ,
105
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
104
106
},
105
107
},
106
108
}
@@ -147,6 +149,7 @@ const testGetZonalClusterResponseRaw = `
147
149
"provider_name": "keycloak",
148
150
"client_id": "kubernetes",
149
151
"groups_claim": "groups",
152
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
150
153
"issuer_url": "https://example.com/",
151
154
"username_claim": "email"
152
155
}
@@ -196,6 +199,7 @@ var expectedGetZonalClusterResponse = &cluster.View{
196
199
ClientID : "kubernetes" ,
197
200
UsernameClaim : "email" ,
198
201
GroupsClaim : "groups" ,
202
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
199
203
},
200
204
},
201
205
}
@@ -237,6 +241,7 @@ const testListClustersResponseRaw = `
237
241
"provider_name": "keycloak",
238
242
"client_id": "kubernetes",
239
243
"groups_claim": "groups",
244
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
240
245
"issuer_url": "https://example.com/",
241
246
"username_claim": "email"
242
247
}
@@ -275,6 +280,7 @@ const testListClustersResponseRaw = `
275
280
"provider_name": "keycloak",
276
281
"client_id": "kubernetes",
277
282
"groups_claim": "groups",
283
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
278
284
"issuer_url": "https://example.com/",
279
285
"username_claim": "email"
280
286
}
@@ -313,6 +319,7 @@ const testListClustersResponseRaw = `
313
319
"provider_name": "keycloak",
314
320
"client_id": "kubernetes",
315
321
"groups_claim": "groups",
322
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
316
323
"issuer_url": "https://example.com/",
317
324
"username_claim": "email"
318
325
}
@@ -351,6 +358,7 @@ const testListClustersResponseRaw = `
351
358
"provider_name": "keycloak",
352
359
"client_id": "kubernetes",
353
360
"groups_claim": "groups",
361
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
354
362
"issuer_url": "https://example.com/",
355
363
"username_claim": "email"
356
364
}
@@ -389,6 +397,7 @@ const testListClustersResponseRaw = `
389
397
"provider_name": "keycloak",
390
398
"client_id": "kubernetes",
391
399
"groups_claim": "groups",
400
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
392
401
"issuer_url": "https://example.com/",
393
402
"username_claim": "email"
394
403
}
@@ -427,6 +436,7 @@ const testListClustersResponseRaw = `
427
436
"provider_name": "keycloak",
428
437
"client_id": "kubernetes",
429
438
"groups_claim": "groups",
439
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
430
440
"issuer_url": "https://example.com/",
431
441
"username_claim": "email"
432
442
}
@@ -465,6 +475,7 @@ const testListClustersResponseRaw = `
465
475
"provider_name": "keycloak",
466
476
"client_id": "kubernetes",
467
477
"groups_claim": "groups",
478
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
468
479
"issuer_url": "https://example.com/",
469
480
"username_claim": "email"
470
481
}
@@ -503,6 +514,7 @@ const testListClustersResponseRaw = `
503
514
"provider_name": "keycloak",
504
515
"client_id": "kubernetes",
505
516
"groups_claim": "groups",
517
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
506
518
"issuer_url": "https://example.com/",
507
519
"username_claim": "email"
508
520
}
@@ -541,6 +553,7 @@ const testListClustersResponseRaw = `
541
553
"provider_name": "keycloak",
542
554
"client_id": "kubernetes",
543
555
"groups_claim": "groups",
556
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
544
557
"issuer_url": "https://example.com/",
545
558
"username_claim": "email"
546
559
}
@@ -579,6 +592,7 @@ const testListClustersResponseRaw = `
579
592
"provider_name": "keycloak",
580
593
"client_id": "kubernetes",
581
594
"groups_claim": "groups",
595
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
582
596
"issuer_url": "https://example.com/",
583
597
"username_claim": "email"
584
598
}
@@ -617,6 +631,7 @@ const testListClustersResponseRaw = `
617
631
"provider_name": "keycloak",
618
632
"client_id": "kubernetes",
619
633
"groups_claim": "groups",
634
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
620
635
"issuer_url": "https://example.com/",
621
636
"username_claim": "email"
622
637
}
@@ -655,6 +670,7 @@ const testListClustersResponseRaw = `
655
670
"provider_name": "keycloak",
656
671
"client_id": "kubernetes",
657
672
"groups_claim": "groups",
673
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
658
674
"issuer_url": "https://example.com/",
659
675
"username_claim": "email"
660
676
}
@@ -693,6 +709,7 @@ const testListClustersResponseRaw = `
693
709
"provider_name": "keycloak",
694
710
"client_id": "kubernetes",
695
711
"groups_claim": "groups",
712
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
696
713
"issuer_url": "https://example.com/",
697
714
"username_claim": "email"
698
715
}
@@ -731,6 +748,7 @@ const testListClustersResponseRaw = `
731
748
"provider_name": "keycloak",
732
749
"client_id": "kubernetes",
733
750
"groups_claim": "groups",
751
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
734
752
"issuer_url": "https://example.com/",
735
753
"username_claim": "email"
736
754
}
@@ -769,6 +787,7 @@ const testListClustersResponseRaw = `
769
787
"provider_name": "keycloak",
770
788
"client_id": "kubernetes",
771
789
"groups_claim": "groups",
790
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
772
791
"issuer_url": "https://example.com/",
773
792
"username_claim": "email"
774
793
}
@@ -807,6 +826,7 @@ const testListClustersResponseRaw = `
807
826
"provider_name": "keycloak",
808
827
"client_id": "kubernetes",
809
828
"groups_claim": "groups",
829
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
810
830
"issuer_url": "https://example.com/",
811
831
"username_claim": "email"
812
832
}
@@ -853,6 +873,7 @@ var expectedListClustersResponse = []*cluster.View{
853
873
ClientID : "kubernetes" ,
854
874
UsernameClaim : "email" ,
855
875
GroupsClaim : "groups" ,
876
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
856
877
},
857
878
},
858
879
},
@@ -891,6 +912,7 @@ var expectedListClustersResponse = []*cluster.View{
891
912
ClientID : "kubernetes" ,
892
913
UsernameClaim : "email" ,
893
914
GroupsClaim : "groups" ,
915
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
894
916
},
895
917
},
896
918
},
@@ -929,6 +951,7 @@ var expectedListClustersResponse = []*cluster.View{
929
951
ClientID : "kubernetes" ,
930
952
UsernameClaim : "email" ,
931
953
GroupsClaim : "groups" ,
954
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
932
955
},
933
956
},
934
957
},
@@ -967,6 +990,7 @@ var expectedListClustersResponse = []*cluster.View{
967
990
ClientID : "kubernetes" ,
968
991
UsernameClaim : "email" ,
969
992
GroupsClaim : "groups" ,
993
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
970
994
},
971
995
},
972
996
},
@@ -1005,6 +1029,7 @@ var expectedListClustersResponse = []*cluster.View{
1005
1029
ClientID : "kubernetes" ,
1006
1030
UsernameClaim : "email" ,
1007
1031
GroupsClaim : "groups" ,
1032
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
1008
1033
},
1009
1034
},
1010
1035
},
@@ -1043,6 +1068,7 @@ var expectedListClustersResponse = []*cluster.View{
1043
1068
ClientID : "kubernetes" ,
1044
1069
UsernameClaim : "email" ,
1045
1070
GroupsClaim : "groups" ,
1071
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
1046
1072
},
1047
1073
},
1048
1074
},
@@ -1081,6 +1107,7 @@ var expectedListClustersResponse = []*cluster.View{
1081
1107
ClientID : "kubernetes" ,
1082
1108
UsernameClaim : "email" ,
1083
1109
GroupsClaim : "groups" ,
1110
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
1084
1111
},
1085
1112
},
1086
1113
},
@@ -1119,6 +1146,7 @@ var expectedListClustersResponse = []*cluster.View{
1119
1146
ClientID : "kubernetes" ,
1120
1147
UsernameClaim : "email" ,
1121
1148
GroupsClaim : "groups" ,
1149
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
1122
1150
},
1123
1151
},
1124
1152
},
@@ -1157,6 +1185,7 @@ var expectedListClustersResponse = []*cluster.View{
1157
1185
ClientID : "kubernetes" ,
1158
1186
UsernameClaim : "email" ,
1159
1187
GroupsClaim : "groups" ,
1188
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
1160
1189
},
1161
1190
},
1162
1191
},
@@ -1195,6 +1224,7 @@ var expectedListClustersResponse = []*cluster.View{
1195
1224
ClientID : "kubernetes" ,
1196
1225
UsernameClaim : "email" ,
1197
1226
GroupsClaim : "groups" ,
1227
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
1198
1228
},
1199
1229
},
1200
1230
},
@@ -1233,6 +1263,7 @@ var expectedListClustersResponse = []*cluster.View{
1233
1263
ClientID : "kubernetes" ,
1234
1264
UsernameClaim : "email" ,
1235
1265
GroupsClaim : "groups" ,
1266
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
1236
1267
},
1237
1268
},
1238
1269
},
@@ -1271,6 +1302,7 @@ var expectedListClustersResponse = []*cluster.View{
1271
1302
ClientID : "kubernetes" ,
1272
1303
UsernameClaim : "email" ,
1273
1304
GroupsClaim : "groups" ,
1305
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
1274
1306
},
1275
1307
},
1276
1308
},
@@ -1309,6 +1341,7 @@ var expectedListClustersResponse = []*cluster.View{
1309
1341
ClientID : "kubernetes" ,
1310
1342
UsernameClaim : "email" ,
1311
1343
GroupsClaim : "groups" ,
1344
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
1312
1345
},
1313
1346
},
1314
1347
},
@@ -1347,6 +1380,7 @@ var expectedListClustersResponse = []*cluster.View{
1347
1380
ClientID : "kubernetes" ,
1348
1381
UsernameClaim : "email" ,
1349
1382
GroupsClaim : "groups" ,
1383
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
1350
1384
},
1351
1385
},
1352
1386
},
@@ -1385,6 +1419,7 @@ var expectedListClustersResponse = []*cluster.View{
1385
1419
ClientID : "kubernetes" ,
1386
1420
UsernameClaim : "email" ,
1387
1421
GroupsClaim : "groups" ,
1422
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
1388
1423
},
1389
1424
},
1390
1425
},
@@ -1423,6 +1458,7 @@ var expectedListClustersResponse = []*cluster.View{
1423
1458
ClientID : "kubernetes" ,
1424
1459
UsernameClaim : "email" ,
1425
1460
GroupsClaim : "groups" ,
1461
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
1426
1462
},
1427
1463
},
1428
1464
},
@@ -1473,6 +1509,7 @@ const testCreateClusterOptsRaw = `
1473
1509
"provider_name": "keycloak",
1474
1510
"client_id": "kubernetes",
1475
1511
"groups_claim": "groups",
1512
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
1476
1513
"issuer_url": "https://example.com/",
1477
1514
"username_claim": "email"
1478
1515
}
@@ -1522,6 +1559,7 @@ var testCreateClusterOpts = &cluster.CreateOpts{
1522
1559
ClientID : "kubernetes" ,
1523
1560
UsernameClaim : "email" ,
1524
1561
GroupsClaim : "groups" ,
1562
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
1525
1563
},
1526
1564
},
1527
1565
}
@@ -1567,6 +1605,7 @@ const testCreateClusterResponseRaw = `
1567
1605
"provider_name": "keycloak",
1568
1606
"client_id": "kubernetes",
1569
1607
"groups_claim": "groups",
1608
+ "ca_certs": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=",
1570
1609
"issuer_url": "https://example.com/",
1571
1610
"username_claim": "email"
1572
1611
}
@@ -1611,6 +1650,7 @@ var expectedCreateClusterResponse = &cluster.View{
1611
1650
ClientID : "kubernetes" ,
1612
1651
UsernameClaim : "email" ,
1613
1652
GroupsClaim : "groups" ,
1653
+ CACerts : "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tS0tLQo=" ,
1614
1654
},
1615
1655
},
1616
1656
PrivateKubeAPI : false ,
0 commit comments