kubeclient 4.9.1 → 4.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/actions.yml +43 -0
  3. data/CHANGELOG.md +65 -0
  4. data/README.md +6 -0
  5. data/kubeclient.gemspec +7 -3
  6. data/lib/kubeclient/common.rb +31 -19
  7. data/lib/kubeclient/config.rb +22 -10
  8. data/lib/kubeclient/version.rb +1 -1
  9. data/lib/kubeclient/watch_stream.rb +1 -0
  10. metadata +40 -218
  11. data/.travis.yml +0 -29
  12. data/test/cassettes/kubernetes_guestbook.yml +0 -879
  13. data/test/config/allinone.kubeconfig +0 -20
  14. data/test/config/execauth.kubeconfig +0 -62
  15. data/test/config/external-ca.pem +0 -18
  16. data/test/config/external-cert.pem +0 -19
  17. data/test/config/external-key.rsa +0 -27
  18. data/test/config/external.kubeconfig +0 -20
  19. data/test/config/gcpauth.kubeconfig +0 -22
  20. data/test/config/gcpcmdauth.kubeconfig +0 -26
  21. data/test/config/nouser.kubeconfig +0 -16
  22. data/test/config/oidcauth.kubeconfig +0 -25
  23. data/test/config/timestamps.kubeconfig +0 -25
  24. data/test/config/userauth.kubeconfig +0 -28
  25. data/test/json/bindings_list.json +0 -10
  26. data/test/json/component_status.json +0 -17
  27. data/test/json/component_status_list.json +0 -52
  28. data/test/json/config.istio.io_api_resource_list.json +0 -679
  29. data/test/json/config_map_list.json +0 -9
  30. data/test/json/core_api_resource_list.json +0 -181
  31. data/test/json/core_api_resource_list_without_kind.json +0 -129
  32. data/test/json/core_oapi_resource_list_without_kind.json +0 -197
  33. data/test/json/created_endpoint.json +0 -28
  34. data/test/json/created_namespace.json +0 -20
  35. data/test/json/created_secret.json +0 -16
  36. data/test/json/created_security_context_constraint.json +0 -65
  37. data/test/json/created_service.json +0 -31
  38. data/test/json/empty_pod_list.json +0 -9
  39. data/test/json/endpoint_list.json +0 -48
  40. data/test/json/entity_list.json +0 -56
  41. data/test/json/event_list.json +0 -35
  42. data/test/json/extensions_v1beta1_api_resource_list.json +0 -217
  43. data/test/json/limit_range.json +0 -23
  44. data/test/json/limit_range_list.json +0 -31
  45. data/test/json/namespace.json +0 -13
  46. data/test/json/namespace_exception.json +0 -8
  47. data/test/json/namespace_list.json +0 -32
  48. data/test/json/node.json +0 -29
  49. data/test/json/node_list.json +0 -37
  50. data/test/json/node_notice.json +0 -160
  51. data/test/json/persistent_volume.json +0 -37
  52. data/test/json/persistent_volume_claim.json +0 -32
  53. data/test/json/persistent_volume_claim_list.json +0 -40
  54. data/test/json/persistent_volume_claims_nil_items.json +0 -8
  55. data/test/json/persistent_volume_list.json +0 -45
  56. data/test/json/pod.json +0 -92
  57. data/test/json/pod_list.json +0 -79
  58. data/test/json/pod_template_list.json +0 -9
  59. data/test/json/pods_1.json +0 -265
  60. data/test/json/pods_2.json +0 -102
  61. data/test/json/pods_410.json +0 -9
  62. data/test/json/processed_template.json +0 -27
  63. data/test/json/replication_controller.json +0 -57
  64. data/test/json/replication_controller_list.json +0 -66
  65. data/test/json/resource_quota.json +0 -46
  66. data/test/json/resource_quota_list.json +0 -54
  67. data/test/json/secret_list.json +0 -44
  68. data/test/json/security.openshift.io_api_resource_list.json +0 -69
  69. data/test/json/security_context_constraint_list.json +0 -375
  70. data/test/json/service.json +0 -33
  71. data/test/json/service_account.json +0 -25
  72. data/test/json/service_account_list.json +0 -82
  73. data/test/json/service_illegal_json_404.json +0 -1
  74. data/test/json/service_json_patch.json +0 -26
  75. data/test/json/service_list.json +0 -97
  76. data/test/json/service_merge_patch.json +0 -26
  77. data/test/json/service_patch.json +0 -25
  78. data/test/json/service_update.json +0 -22
  79. data/test/json/template.json +0 -27
  80. data/test/json/template.openshift.io_api_resource_list.json +0 -75
  81. data/test/json/template_list.json +0 -35
  82. data/test/json/versions_list.json +0 -6
  83. data/test/json/watch_stream.json +0 -3
  84. data/test/test_common.rb +0 -95
  85. data/test/test_common_url_handling.rb +0 -160
  86. data/test/test_component_status.rb +0 -29
  87. data/test/test_config.rb +0 -222
  88. data/test/test_endpoint.rb +0 -54
  89. data/test/test_exec_credentials.rb +0 -225
  90. data/test/test_gcp_command_credentials.rb +0 -27
  91. data/test/test_google_application_default_credentials.rb +0 -15
  92. data/test/test_guestbook_go.rb +0 -235
  93. data/test/test_helper.rb +0 -18
  94. data/test/test_kubeclient.rb +0 -881
  95. data/test/test_limit_range.rb +0 -25
  96. data/test/test_missing_methods.rb +0 -80
  97. data/test/test_namespace.rb +0 -59
  98. data/test/test_node.rb +0 -70
  99. data/test/test_oidc_auth_provider.rb +0 -103
  100. data/test/test_persistent_volume.rb +0 -29
  101. data/test/test_persistent_volume_claim.rb +0 -28
  102. data/test/test_pod.rb +0 -81
  103. data/test/test_pod_log.rb +0 -157
  104. data/test/test_process_template.rb +0 -80
  105. data/test/test_replication_controller.rb +0 -47
  106. data/test/test_resource_list_without_kind.rb +0 -78
  107. data/test/test_resource_quota.rb +0 -23
  108. data/test/test_secret.rb +0 -62
  109. data/test/test_security_context_constraint.rb +0 -62
  110. data/test/test_service.rb +0 -357
  111. data/test/test_service_account.rb +0 -26
  112. data/test/test_watch.rb +0 -195
  113. data/test/txt/pod_log.txt +0 -6
  114. data/test/valid_token_file +0 -1
@@ -1,679 +0,0 @@
1
- {
2
- "kind": "APIResourceList",
3
- "apiVersion": "v1",
4
- "groupVersion": "config.istio.io/v1alpha2",
5
- "resources": [
6
- {
7
- "name": "metrics",
8
- "singularName": "metric",
9
- "namespaced": true,
10
- "kind": "metric",
11
- "verbs": [
12
- "delete",
13
- "deletecollection",
14
- "get",
15
- "list",
16
- "patch",
17
- "create",
18
- "update",
19
- "watch"
20
- ]
21
- },
22
- {
23
- "name": "servicecontrolreports",
24
- "singularName": "servicecontrolreport",
25
- "namespaced": true,
26
- "kind": "servicecontrolreport",
27
- "verbs": [
28
- "delete",
29
- "deletecollection",
30
- "get",
31
- "list",
32
- "patch",
33
- "create",
34
- "update",
35
- "watch"
36
- ]
37
- },
38
- {
39
- "name": "opas",
40
- "singularName": "opa",
41
- "namespaced": true,
42
- "kind": "opa",
43
- "verbs": [
44
- "delete",
45
- "deletecollection",
46
- "get",
47
- "list",
48
- "patch",
49
- "create",
50
- "update",
51
- "watch"
52
- ]
53
- },
54
- {
55
- "name": "redisquotas",
56
- "singularName": "redisquota",
57
- "namespaced": true,
58
- "kind": "redisquota",
59
- "verbs": [
60
- "delete",
61
- "deletecollection",
62
- "get",
63
- "list",
64
- "patch",
65
- "create",
66
- "update",
67
- "watch"
68
- ]
69
- },
70
- {
71
- "name": "authorizations",
72
- "singularName": "authorization",
73
- "namespaced": true,
74
- "kind": "authorization",
75
- "verbs": [
76
- "delete",
77
- "deletecollection",
78
- "get",
79
- "list",
80
- "patch",
81
- "create",
82
- "update",
83
- "watch"
84
- ]
85
- },
86
- {
87
- "name": "listentries",
88
- "singularName": "listentry",
89
- "namespaced": true,
90
- "kind": "listentry",
91
- "verbs": [
92
- "delete",
93
- "deletecollection",
94
- "get",
95
- "list",
96
- "patch",
97
- "create",
98
- "update",
99
- "watch"
100
- ]
101
- },
102
- {
103
- "name": "logentries",
104
- "singularName": "logentry",
105
- "namespaced": true,
106
- "kind": "logentry",
107
- "verbs": [
108
- "delete",
109
- "deletecollection",
110
- "get",
111
- "list",
112
- "patch",
113
- "create",
114
- "update",
115
- "watch"
116
- ]
117
- },
118
- {
119
- "name": "tracespans",
120
- "singularName": "tracespan",
121
- "namespaced": true,
122
- "kind": "tracespan",
123
- "verbs": [
124
- "delete",
125
- "deletecollection",
126
- "get",
127
- "list",
128
- "patch",
129
- "create",
130
- "update",
131
- "watch"
132
- ]
133
- },
134
- {
135
- "name": "quotaspecs",
136
- "singularName": "quotaspec",
137
- "namespaced": true,
138
- "kind": "QuotaSpec",
139
- "verbs": [
140
- "delete",
141
- "deletecollection",
142
- "get",
143
- "list",
144
- "patch",
145
- "create",
146
- "update",
147
- "watch"
148
- ]
149
- },
150
- {
151
- "name": "fluentds",
152
- "singularName": "fluentd",
153
- "namespaced": true,
154
- "kind": "fluentd",
155
- "verbs": [
156
- "delete",
157
- "deletecollection",
158
- "get",
159
- "list",
160
- "patch",
161
- "create",
162
- "update",
163
- "watch"
164
- ]
165
- },
166
- {
167
- "name": "rbacs",
168
- "singularName": "rbac",
169
- "namespaced": true,
170
- "kind": "rbac",
171
- "verbs": [
172
- "delete",
173
- "deletecollection",
174
- "get",
175
- "list",
176
- "patch",
177
- "create",
178
- "update",
179
- "watch"
180
- ]
181
- },
182
- {
183
- "name": "checknothings",
184
- "singularName": "checknothing",
185
- "namespaced": true,
186
- "kind": "checknothing",
187
- "verbs": [
188
- "delete",
189
- "deletecollection",
190
- "get",
191
- "list",
192
- "patch",
193
- "create",
194
- "update",
195
- "watch"
196
- ]
197
- },
198
- {
199
- "name": "edges",
200
- "singularName": "edge",
201
- "namespaced": true,
202
- "kind": "edge",
203
- "verbs": [
204
- "delete",
205
- "deletecollection",
206
- "get",
207
- "list",
208
- "patch",
209
- "create",
210
- "update",
211
- "watch"
212
- ]
213
- },
214
- {
215
- "name": "apikeys",
216
- "singularName": "apikey",
217
- "namespaced": true,
218
- "kind": "apikey",
219
- "verbs": [
220
- "delete",
221
- "deletecollection",
222
- "get",
223
- "list",
224
- "patch",
225
- "create",
226
- "update",
227
- "watch"
228
- ]
229
- },
230
- {
231
- "name": "kuberneteses",
232
- "singularName": "kubernetes",
233
- "namespaced": true,
234
- "kind": "kubernetes",
235
- "verbs": [
236
- "delete",
237
- "deletecollection",
238
- "get",
239
- "list",
240
- "patch",
241
- "create",
242
- "update",
243
- "watch"
244
- ]
245
- },
246
- {
247
- "name": "httpapispecs",
248
- "singularName": "httpapispec",
249
- "namespaced": true,
250
- "kind": "HTTPAPISpec",
251
- "verbs": [
252
- "delete",
253
- "deletecollection",
254
- "get",
255
- "list",
256
- "patch",
257
- "create",
258
- "update",
259
- "watch"
260
- ]
261
- },
262
- {
263
- "name": "attributemanifests",
264
- "singularName": "attributemanifest",
265
- "namespaced": true,
266
- "kind": "attributemanifest",
267
- "verbs": [
268
- "delete",
269
- "deletecollection",
270
- "get",
271
- "list",
272
- "patch",
273
- "create",
274
- "update",
275
- "watch"
276
- ]
277
- },
278
- {
279
- "name": "kubernetesenvs",
280
- "singularName": "kubernetesenv",
281
- "namespaced": true,
282
- "kind": "kubernetesenv",
283
- "verbs": [
284
- "delete",
285
- "deletecollection",
286
- "get",
287
- "list",
288
- "patch",
289
- "create",
290
- "update",
291
- "watch"
292
- ]
293
- },
294
- {
295
- "name": "listcheckers",
296
- "singularName": "listchecker",
297
- "namespaced": true,
298
- "kind": "listchecker",
299
- "verbs": [
300
- "delete",
301
- "deletecollection",
302
- "get",
303
- "list",
304
- "patch",
305
- "create",
306
- "update",
307
- "watch"
308
- ]
309
- },
310
- {
311
- "name": "quotas",
312
- "singularName": "quota",
313
- "namespaced": true,
314
- "kind": "quota",
315
- "verbs": [
316
- "delete",
317
- "deletecollection",
318
- "get",
319
- "list",
320
- "patch",
321
- "create",
322
- "update",
323
- "watch"
324
- ]
325
- },
326
- {
327
- "name": "instances",
328
- "singularName": "instance",
329
- "namespaced": true,
330
- "kind": "instance",
331
- "verbs": [
332
- "delete",
333
- "deletecollection",
334
- "get",
335
- "list",
336
- "patch",
337
- "create",
338
- "update",
339
- "watch"
340
- ]
341
- },
342
- {
343
- "name": "memquotas",
344
- "singularName": "memquota",
345
- "namespaced": true,
346
- "kind": "memquota",
347
- "verbs": [
348
- "delete",
349
- "deletecollection",
350
- "get",
351
- "list",
352
- "patch",
353
- "create",
354
- "update",
355
- "watch"
356
- ]
357
- },
358
- {
359
- "name": "noops",
360
- "singularName": "noop",
361
- "namespaced": true,
362
- "kind": "noop",
363
- "verbs": [
364
- "delete",
365
- "deletecollection",
366
- "get",
367
- "list",
368
- "patch",
369
- "create",
370
- "update",
371
- "watch"
372
- ]
373
- },
374
- {
375
- "name": "prometheuses",
376
- "singularName": "prometheus",
377
- "namespaced": true,
378
- "kind": "prometheus",
379
- "verbs": [
380
- "delete",
381
- "deletecollection",
382
- "get",
383
- "list",
384
- "patch",
385
- "create",
386
- "update",
387
- "watch"
388
- ]
389
- },
390
- {
391
- "name": "solarwindses",
392
- "singularName": "solarwinds",
393
- "namespaced": true,
394
- "kind": "solarwinds",
395
- "verbs": [
396
- "delete",
397
- "deletecollection",
398
- "get",
399
- "list",
400
- "patch",
401
- "create",
402
- "update",
403
- "watch"
404
- ]
405
- },
406
- {
407
- "name": "cloudwatches",
408
- "singularName": "cloudwatch",
409
- "namespaced": true,
410
- "kind": "cloudwatch",
411
- "verbs": [
412
- "delete",
413
- "deletecollection",
414
- "get",
415
- "list",
416
- "patch",
417
- "create",
418
- "update",
419
- "watch"
420
- ]
421
- },
422
- {
423
- "name": "reportnothings",
424
- "singularName": "reportnothing",
425
- "namespaced": true,
426
- "kind": "reportnothing",
427
- "verbs": [
428
- "delete",
429
- "deletecollection",
430
- "get",
431
- "list",
432
- "patch",
433
- "create",
434
- "update",
435
- "watch"
436
- ]
437
- },
438
- {
439
- "name": "stackdrivers",
440
- "singularName": "stackdriver",
441
- "namespaced": true,
442
- "kind": "stackdriver",
443
- "verbs": [
444
- "delete",
445
- "deletecollection",
446
- "get",
447
- "list",
448
- "patch",
449
- "create",
450
- "update",
451
- "watch"
452
- ]
453
- },
454
- {
455
- "name": "statsds",
456
- "singularName": "statsd",
457
- "namespaced": true,
458
- "kind": "statsd",
459
- "verbs": [
460
- "delete",
461
- "deletecollection",
462
- "get",
463
- "list",
464
- "patch",
465
- "create",
466
- "update",
467
- "watch"
468
- ]
469
- },
470
- {
471
- "name": "httpapispecbindings",
472
- "singularName": "httpapispecbinding",
473
- "namespaced": true,
474
- "kind": "HTTPAPISpecBinding",
475
- "verbs": [
476
- "delete",
477
- "deletecollection",
478
- "get",
479
- "list",
480
- "patch",
481
- "create",
482
- "update",
483
- "watch"
484
- ]
485
- },
486
- {
487
- "name": "quotaspecbindings",
488
- "singularName": "quotaspecbinding",
489
- "namespaced": true,
490
- "kind": "QuotaSpecBinding",
491
- "verbs": [
492
- "delete",
493
- "deletecollection",
494
- "get",
495
- "list",
496
- "patch",
497
- "create",
498
- "update",
499
- "watch"
500
- ]
501
- },
502
- {
503
- "name": "bypasses",
504
- "singularName": "bypass",
505
- "namespaced": true,
506
- "kind": "bypass",
507
- "verbs": [
508
- "delete",
509
- "deletecollection",
510
- "get",
511
- "list",
512
- "patch",
513
- "create",
514
- "update",
515
- "watch"
516
- ]
517
- },
518
- {
519
- "name": "circonuses",
520
- "singularName": "circonus",
521
- "namespaced": true,
522
- "kind": "circonus",
523
- "verbs": [
524
- "delete",
525
- "deletecollection",
526
- "get",
527
- "list",
528
- "patch",
529
- "create",
530
- "update",
531
- "watch"
532
- ]
533
- },
534
- {
535
- "name": "deniers",
536
- "singularName": "denier",
537
- "namespaced": true,
538
- "kind": "denier",
539
- "verbs": [
540
- "delete",
541
- "deletecollection",
542
- "get",
543
- "list",
544
- "patch",
545
- "create",
546
- "update",
547
- "watch"
548
- ]
549
- },
550
- {
551
- "name": "signalfxs",
552
- "singularName": "signalfx",
553
- "namespaced": true,
554
- "kind": "signalfx",
555
- "verbs": [
556
- "delete",
557
- "deletecollection",
558
- "get",
559
- "list",
560
- "patch",
561
- "create",
562
- "update",
563
- "watch"
564
- ]
565
- },
566
- {
567
- "name": "adapters",
568
- "singularName": "adapter",
569
- "namespaced": true,
570
- "kind": "adapter",
571
- "verbs": [
572
- "delete",
573
- "deletecollection",
574
- "get",
575
- "list",
576
- "patch",
577
- "create",
578
- "update",
579
- "watch"
580
- ]
581
- },
582
- {
583
- "name": "servicecontrols",
584
- "singularName": "servicecontrol",
585
- "namespaced": true,
586
- "kind": "servicecontrol",
587
- "verbs": [
588
- "delete",
589
- "deletecollection",
590
- "get",
591
- "list",
592
- "patch",
593
- "create",
594
- "update",
595
- "watch"
596
- ]
597
- },
598
- {
599
- "name": "templates",
600
- "singularName": "template",
601
- "namespaced": true,
602
- "kind": "template",
603
- "verbs": [
604
- "delete",
605
- "deletecollection",
606
- "get",
607
- "list",
608
- "patch",
609
- "create",
610
- "update",
611
- "watch"
612
- ]
613
- },
614
- {
615
- "name": "handlers",
616
- "singularName": "handler",
617
- "namespaced": true,
618
- "kind": "handler",
619
- "verbs": [
620
- "delete",
621
- "deletecollection",
622
- "get",
623
- "list",
624
- "patch",
625
- "create",
626
- "update",
627
- "watch"
628
- ]
629
- },
630
- {
631
- "name": "rules",
632
- "singularName": "rule",
633
- "namespaced": true,
634
- "kind": "rule",
635
- "verbs": [
636
- "delete",
637
- "deletecollection",
638
- "get",
639
- "list",
640
- "patch",
641
- "create",
642
- "update",
643
- "watch"
644
- ]
645
- },
646
- {
647
- "name": "dogstatsds",
648
- "singularName": "dogstatsd",
649
- "namespaced": true,
650
- "kind": "dogstatsd",
651
- "verbs": [
652
- "delete",
653
- "deletecollection",
654
- "get",
655
- "list",
656
- "patch",
657
- "create",
658
- "update",
659
- "watch"
660
- ]
661
- },
662
- {
663
- "name": "stdios",
664
- "singularName": "stdio",
665
- "namespaced": true,
666
- "kind": "stdio",
667
- "verbs": [
668
- "delete",
669
- "deletecollection",
670
- "get",
671
- "list",
672
- "patch",
673
- "create",
674
- "update",
675
- "watch"
676
- ]
677
- }
678
- ]
679
- }
@@ -1,9 +0,0 @@
1
- {
2
- "kind": "ConfigMapList",
3
- "apiVersion": "v1",
4
- "metadata": {
5
- "selfLink": "/api/v1/configmaps",
6
- "resourceVersion": "665"
7
- },
8
- "items": []
9
- }