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,20 +0,0 @@
1
- apiVersion: v1
2
- clusters:
3
- - cluster:
4
- certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM2akNDQWRLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREFtTVNRd0lnWURWUVFEREJ0dmNHVnUKYzJocFpuUXRjMmxuYm1WeVFERTFOREUzTVRZMU9USXdIaGNOTVRneE1UQTRNakl6TmpNeFdoY05Nak14TVRBMwpNakl6TmpNeVdqQW1NU1F3SWdZRFZRUUREQnR2Y0dWdWMyaHBablF0YzJsbmJtVnlRREUxTkRFM01UWTFPVEl3CmdnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJEd0F3Z2dFS0FvSUJBUUREaS9CdG9YR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UtLS0tLQo=
5
- server: https://localhost:8443
6
- name: localhost:8443
7
- contexts:
8
- - context:
9
- cluster: localhost:8443
10
- namespace: default
11
- user: system:admin/localhost:8443
12
- name: default/localhost:8443/system:admin
13
- current-context: default/localhost:8443/system:admin
14
- kind: Config
15
- preferences: {}
16
- users:
17
- - name: system:admin/localhost:8443
18
- user:
19
- client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURKRENDQWd5Z0F3SUJBZ0lCQ0RBTkJna3Foa2lHOXcwQkFRc0ZBREFtTVNRd0lnWURWUVFEREJ0dmNHVnUKYzJocFpuUXRjMmxuYm1WeVFERTFOREUzTVRZMU9USXdIaGNOTVRneE1UQTRNakl6TmpNMFdoY05NakF4TVRBMwpNakl6TmpNMVdqQk9NVFV3SEFZRFZRUUtFeFZ6ZVhOMFpXMDZZMngxYzNSbGNpMWhaRzFwYm5Nd0ZRWURWUVFLCkV3NXplWE4wWlcwNmJXRnpkR1Z5Y3pFVk1CTUdBMVVFQXhNTWMzbHpkR1Z0T21Ga2JXbHVNSUlCSWpBTkJna3EKaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUF1M3VrODFYNkRsMGpBc0t4V3ZZVWN6NVNZSlBuUi9zSApMT1BDUmNaYkN4WVlMS2VTcDYzNnExYU1RdWsyRnJIejVsSDA5MmlVMk1VWWlwUnJOVVdQb0JRMVpCdWUvQjJPCm5wbXl3aHIyYlZyZXBpWjZPTk9QOTJKMllHYU1UUG10VzIrRUc4b3dEcmkvQ25NTyswNUIvaU1JbEJjbno2MHQKeVdHb29tTHkyb1lVaDNwMC9YVW5meFZiRjYzRndIMis4N2hKbWl1SWkzTjRzSStjUDZ0UHhnMTQzTFU5bDRINAo0MERNK1llR0NpNVJuU0lGaVRCN04vN3hQcU54VWQrVGVZY0JaYjIvYmFFOCs0VXp6bEFWZnJKcG5aTTdINC9LClZQYWxjUU9CVXA0ekdTTkxOYXl6c1VmamxqRTM1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RRHJJZTEwYzJ0Cnh4dWlKazkvTkd4VTBwZEtRVEg0Nm1PUmRMeXg5TkJWYm02YWJLc0NnWUVBeDBQM1Y3WVlneGZtbWo1Qy8yVmYKZS80Nis1ZXdKaDFYOFQ3M3lQQkh3ejlXZUM5a2NsSEJHQy9USUJqcGN1WmljaXRDTThjRkZwMTN2UDBId0JVUQpYVFVwUjNabUhIbElUZDdrUVkwVnJyekZnajUvbmhmU2ZWcWsvSVI0QzJYN3F2WFkvdVZkZ1VuNndpWjhQMnF0Cld1akxLL1NxTC94RmNxcCtXelVMSUU4Q2dZQVNmMUVEdHdTQ0JwYXJRQ3dlWGp3c3h3cHZVUks3ak1Rb24yNVYKWUYrdkdteFllbzlGRUlHdUN3TXM4anZEWHpGT1VKQ2Rqa3dTbXhyeVBQZHBBTUduWWZGZjRiU0VyWjhqTEVIZwp5TTc4aWR1N3VQMGpEMkFuREZDOUZCYW85Qnlma2xocDhxQ2JLbmhzZlBVbUhERWl3dnFPdjd1VjBuaUcvcmlOCnhtdjU5d0tCZ1FDNzd4Znd3aUVMNEcxdEJINVc1RFhJeGtpZ3V5ak95SnRKTlJURVBVckxSVjl3TlJMazFnb28KeXlUelpYNWhMU3ppaTdoN1BlUUdqOVR0V3VwWDdUWDJtb0FqU1FRODJWLzR5ZkpPcHVpSitQeDloRFowc0g2cApZdmFoKzNKK1JMSWUyaTNrcVM0eDUvcU5xb1BhcngyTk1oZWhIdHNGcWo1czBnQlczR25xL2c9PQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=
@@ -1,62 +0,0 @@
1
- apiVersion: v1
2
- clusters:
3
- - cluster:
4
- server: https://localhost:8443
5
- insecure-skip-tls-verify: true
6
- name: localhost:8443
7
- contexts:
8
- - context:
9
- cluster: localhost:8443
10
- namespace: default
11
- user: system:admin:exec-search-path
12
- name: localhost/system:admin:exec-search-path
13
- - context:
14
- cluster: localhost:8443
15
- namespace: default
16
- user: system:admin:exec-relative-path
17
- name: localhost/system:admin:exec-relative-path
18
- - context:
19
- cluster: localhost:8443
20
- namespace: default
21
- user: system:admin:exec-absolute-path
22
- name: localhost/system:admin:exec-absolute-path
23
- kind: Config
24
- preferences: {}
25
- users:
26
- - name: system:admin:exec-search-path
27
- user:
28
- exec:
29
- # Command to execute. Required.
30
- command: "example-exec-plugin"
31
-
32
- # API version to use when decoding the ExecCredentials resource. Required.
33
- #
34
- # The API version returned by the plugin MUST match the version listed here.
35
- #
36
- # To integrate with tools that support multiple versions (such as client.authentication.k8s.io/v1alpha1),
37
- # set an environment variable or pass an argument to the tool that indicates which version the exec plugin expects.
38
- apiVersion: "client.authentication.k8s.io/v1beta1"
39
-
40
- # Environment variables to set when executing the plugin. Optional.
41
- env:
42
- - name: "FOO"
43
- value: "bar"
44
-
45
- # Arguments to pass when executing the plugin. Optional.
46
- args:
47
- - "arg1"
48
- - "arg2"
49
-
50
- - name: system:admin:exec-relative-path
51
- user:
52
- exec:
53
- # Command to execute. Required.
54
- command: "dir/example-exec-plugin"
55
- apiVersion: "client.authentication.k8s.io/v1beta1"
56
-
57
- - name: system:admin:exec-absolute-path
58
- user:
59
- exec:
60
- # Command to execute. Required.
61
- command: "/abs/path/example-exec-plugin"
62
- apiVersion: "client.authentication.k8s.io/v1beta1"
@@ -1,18 +0,0 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIC6jCCAdKgAwIBAgIBATANBgkqhkiG9w0BAQsFADAmMSQwIgYDVQQDDBtvcGVu
3
- c2hpZnQtc2lnbmVyQDE1NDE3MTY1OTIwHhcNMTgxMTA4MjIzNjMxWhcNMjMxMTA3
4
- MjIzNjMyWjAmMSQwIgYDVQQDDBtvcGVuc2hpZnQtc2lnbmVyQDE1NDE3MTY1OTIw
5
- ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDDi/BtoXDZ0/ItoyFU4ZMp
6
- 0nqQvz1aDnW/TzCDxieRE/OlBNDqRBRQGXKh5a82Ctnz5J38W2Ycv6Ev5BRJpRM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TUpR3ZmHHlITd7kQY0VrrzFgj5/nhfSfVqk/IR4C2X7qvXY/uVdgUn6wiZ8P2qt
21
- WujLK/SqL/xFcqp+WzULIE8CgYASf1EDtwSCBparQCweXjwsxwpvURK7jMQon25V
22
- YF+vGmxYeo9FEIGuCwMs8jvDXzFOUJCdjkwSmxryPPdpAMGnYfFf4bSErZ8jLEHg
23
- yM78idu7uP0jD2AnDFC9FBao9Byfklhp8qCbKnhsfPUmHDEiwvqOv7uV0niG/riN
24
- xmv59wKBgQC77xfwwiEL4G1tBH5W5DXIxkiguyjOyJtJNRTEPUrLRV9wNRLk1goo
25
- yyTzZX5hLSzii7h7PeQGj9TtWupX7TX2moAjSQQ82V/4yfJOpuiJ+Px9hDZ0sH6p
26
- Yvah+3J+RLIe2i3kqS4x5/qNqoParx2NMhehHtsFqj5s0gBW3Gnq/g==
27
- -----END RSA PRIVATE KEY-----
@@ -1,20 +0,0 @@
1
- apiVersion: v1
2
- clusters:
3
- - cluster:
4
- certificate-authority: external-ca.pem
5
- server: https://localhost:8443
6
- name: localhost:8443
7
- contexts:
8
- - context:
9
- cluster: localhost:8443
10
- namespace: default
11
- user: system:admin/localhost:8443
12
- name: default/localhost:8443/system:admin
13
- current-context: default/localhost:8443/system:admin
14
- kind: Config
15
- preferences: {}
16
- users:
17
- - name: system:admin/localhost:8443
18
- user:
19
- client-certificate: external-cert.pem
20
- client-key: external-key.rsa
@@ -1,22 +0,0 @@
1
- apiVersion: v1
2
- clusters:
3
- - cluster:
4
- server: https://localhost:8443
5
- insecure-skip-tls-verify: true
6
- name: localhost:8443
7
- contexts:
8
- - context:
9
- cluster: localhost:8443
10
- namespace: default
11
- user: application-default-credentials
12
- name: localhost/application-default-credentials
13
- kind: Config
14
- preferences: {}
15
- users:
16
- - name: application-default-credentials
17
- user:
18
- auth-provider:
19
- config:
20
- access-token: <fake_token>
21
- expiry: 2019-02-19T11:07:29.827352-05:00
22
- name: gcp
@@ -1,26 +0,0 @@
1
- apiVersion: v1
2
- clusters:
3
- - cluster:
4
- server: https://localhost:8443
5
- insecure-skip-tls-verify: true
6
- name: localhost:8443
7
- contexts:
8
- - context:
9
- cluster: localhost:8443
10
- namespace: default
11
- user: application-default-credentials
12
- name: localhost/application-default-credentials
13
- kind: Config
14
- preferences: {}
15
- users:
16
- - name: application-default-credentials
17
- user:
18
- auth-provider:
19
- config:
20
- access-token: <fake_token>
21
- cmd-args: config config-helper --format=json
22
- cmd-path: /path/to/gcloud
23
- expiry: 2019-04-09T19:26:18Z
24
- expiry-key: '{.credential.token_expiry}'
25
- token-key: '{.credential.access_token}'
26
- name: gcp
@@ -1,16 +0,0 @@
1
- apiVersion: v1
2
- clusters:
3
- - cluster:
4
- server: https://localhost:8443
5
- insecure-skip-tls-verify: true
6
- name: localhost:8443
7
- contexts:
8
- - context:
9
- cluster: localhost:8443
10
- namespace: default
11
- user: ""
12
- name: default/localhost:8443/nouser
13
- current-context: default/localhost:8443/nouser
14
- kind: Config
15
- preferences: {}
16
- users: []
@@ -1,25 +0,0 @@
1
- apiVersion: v1
2
- clusters:
3
- - cluster:
4
- server: https://localhost:8443
5
- insecure-skip-tls-verify: true
6
- name: localhost:8443
7
- contexts:
8
- - context:
9
- cluster: localhost:8443
10
- namespace: default
11
- user: oidc-auth-provider
12
- name: localhost/oidc-auth-provider
13
- kind: Config
14
- preferences: {}
15
- users:
16
- - name: oidc-auth-provider
17
- user:
18
- auth-provider:
19
- config:
20
- client-id: fake-client-id
21
- client-secret: fake-client-secret
22
- id-token: fake-id-token
23
- idp-issuer-url: https://accounts.google.com
24
- refresh-token: fake-refresh-token
25
- name: oidc
@@ -1,25 +0,0 @@
1
- apiVersion: v1
2
- users:
3
- - name: gke_username
4
- user:
5
- auth-provider:
6
- config:
7
- access-token: REDACTED
8
- cmd-args: config config-helper --format=json
9
- cmd-path: /Users/tannerbruce/opt/google-cloud-sdk/bin/gcloud
10
- expiry: 2018-07-07T18:25:36Z
11
- expiry-key: '{.credential.token_expiry}'
12
- token-key: '{.credential.access_token}'
13
- name: gcp
14
-
15
- # More syntaxes from go-yaml tests, hopefully covering all types possible in kubeconfig
16
- IPv4: 1.2.3.4
17
- Duration: 3s
18
- date_only: 2015-01-01
19
- rfc3339: 2015-02-24T18:19:39Z
20
- longer: 2015-02-24T18:19:39.123456789-03:00
21
- shorter: 2015-2-3T3:4:5Z
22
- iso_lower_t: 2015-02-24t18:19:39Z
23
- space_no_tz: 2015-02-24 18:19:39
24
- space_tz: 2001-12-14 21:59:43.10 -5
25
- timestamp_like_string: "2015-02-24T18:19:39Z"
@@ -1,28 +0,0 @@
1
- apiVersion: v1
2
- clusters:
3
- - cluster:
4
- server: https://localhost:8443
5
- insecure-skip-tls-verify: true
6
- name: localhost:8443
7
- contexts:
8
- - context:
9
- cluster: localhost:8443
10
- namespace: default
11
- user: system:admin:token
12
- name: localhost/system:admin:token
13
- - context:
14
- cluster: localhost:8443
15
- namespace: default
16
- user: system:admin:userpass
17
- name: localhost/system:admin:userpass
18
- current-context: localhost/system:admin:token
19
- kind: Config
20
- preferences: {}
21
- users:
22
- - name: system:admin:token
23
- user:
24
- token: 0123456789ABCDEF0123456789ABCDEF
25
- - name: system:admin:userpass
26
- user:
27
- username: admin
28
- password: pAssw0rd123
@@ -1,10 +0,0 @@
1
- {
2
- "kind": "Status",
3
- "apiVersion": "v1",
4
- "metadata": {},
5
- "status": "Failure",
6
- "message": "the server could not find the requested resource",
7
- "reason": "NotFound",
8
- "details": {},
9
- "code": 404
10
- }
@@ -1,17 +0,0 @@
1
- {
2
- "kind": "ComponentStatus",
3
- "apiVersion": "v1",
4
- "metadata": {
5
- "name": "etcd-0",
6
- "selfLink": "/api/v1/namespaces/componentstatuses/etcd-0",
7
- "creationTimestamp": null
8
- },
9
- "conditions": [
10
- {
11
- "type": "Healthy",
12
- "status": "True",
13
- "message": "{\"health\": \"true\"}",
14
- "error": "nil"
15
- }
16
- ]
17
- }
@@ -1,52 +0,0 @@
1
- {
2
- "kind": "ComponentStatusList",
3
- "apiVersion": "v1",
4
- "metadata": {
5
- "selfLink": "/api/v1/componentstatuses"
6
- },
7
- "items": [
8
- {
9
- "metadata": {
10
- "name": "controller-manager",
11
- "selfLink": "/api/v1/namespaces/componentstatuses/controller-manager",
12
- "creationTimestamp": null
13
- },
14
- "conditions": [
15
- {
16
- "type": "Healthy",
17
- "status": "Unknown",
18
- "error": "Get http://127.0.0.1:10252/healthz: dial tcp 127.0.0.1:10252: connection refused"
19
- }
20
- ]
21
- },
22
- {
23
- "metadata": {
24
- "name": "scheduler",
25
- "selfLink": "/api/v1/namespaces/componentstatuses/scheduler",
26
- "creationTimestamp": null
27
- },
28
- "conditions": [
29
- {
30
- "type": "Healthy",
31
- "status": "Unknown",
32
- "error": "Get http://127.0.0.1:10251/healthz: dial tcp 127.0.0.1:10251: connection refused"
33
- }
34
- ]
35
- },
36
- {
37
- "metadata": {
38
- "name": "etcd-0",
39
- "selfLink": "/api/v1/namespaces/componentstatuses/etcd-0",
40
- "creationTimestamp": null
41
- },
42
- "conditions": [
43
- {
44
- "type": "Healthy",
45
- "status": "True",
46
- "message": "{\"health\": \"true\"}",
47
- "error": "nil"
48
- }
49
- ]
50
- }
51
- ]
52
- }