kubeclient 4.9.1 → 4.9.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of kubeclient might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.github/workflows/actions.yml +35 -0
- data/CHANGELOG.md +8 -0
- data/kubeclient.gemspec +3 -2
- data/lib/kubeclient/common.rb +2 -2
- data/lib/kubeclient/config.rb +6 -1
- data/lib/kubeclient/version.rb +1 -1
- metadata +8 -214
- data/.travis.yml +0 -29
- data/test/cassettes/kubernetes_guestbook.yml +0 -879
- data/test/config/allinone.kubeconfig +0 -20
- data/test/config/execauth.kubeconfig +0 -62
- data/test/config/external-ca.pem +0 -18
- data/test/config/external-cert.pem +0 -19
- data/test/config/external-key.rsa +0 -27
- data/test/config/external.kubeconfig +0 -20
- data/test/config/gcpauth.kubeconfig +0 -22
- data/test/config/gcpcmdauth.kubeconfig +0 -26
- data/test/config/nouser.kubeconfig +0 -16
- data/test/config/oidcauth.kubeconfig +0 -25
- data/test/config/timestamps.kubeconfig +0 -25
- data/test/config/userauth.kubeconfig +0 -28
- data/test/json/bindings_list.json +0 -10
- data/test/json/component_status.json +0 -17
- data/test/json/component_status_list.json +0 -52
- data/test/json/config.istio.io_api_resource_list.json +0 -679
- data/test/json/config_map_list.json +0 -9
- data/test/json/core_api_resource_list.json +0 -181
- data/test/json/core_api_resource_list_without_kind.json +0 -129
- data/test/json/core_oapi_resource_list_without_kind.json +0 -197
- data/test/json/created_endpoint.json +0 -28
- data/test/json/created_namespace.json +0 -20
- data/test/json/created_secret.json +0 -16
- data/test/json/created_security_context_constraint.json +0 -65
- data/test/json/created_service.json +0 -31
- data/test/json/empty_pod_list.json +0 -9
- data/test/json/endpoint_list.json +0 -48
- data/test/json/entity_list.json +0 -56
- data/test/json/event_list.json +0 -35
- data/test/json/extensions_v1beta1_api_resource_list.json +0 -217
- data/test/json/limit_range.json +0 -23
- data/test/json/limit_range_list.json +0 -31
- data/test/json/namespace.json +0 -13
- data/test/json/namespace_exception.json +0 -8
- data/test/json/namespace_list.json +0 -32
- data/test/json/node.json +0 -29
- data/test/json/node_list.json +0 -37
- data/test/json/node_notice.json +0 -160
- data/test/json/persistent_volume.json +0 -37
- data/test/json/persistent_volume_claim.json +0 -32
- data/test/json/persistent_volume_claim_list.json +0 -40
- data/test/json/persistent_volume_claims_nil_items.json +0 -8
- data/test/json/persistent_volume_list.json +0 -45
- data/test/json/pod.json +0 -92
- data/test/json/pod_list.json +0 -79
- data/test/json/pod_template_list.json +0 -9
- data/test/json/pods_1.json +0 -265
- data/test/json/pods_2.json +0 -102
- data/test/json/pods_410.json +0 -9
- data/test/json/processed_template.json +0 -27
- data/test/json/replication_controller.json +0 -57
- data/test/json/replication_controller_list.json +0 -66
- data/test/json/resource_quota.json +0 -46
- data/test/json/resource_quota_list.json +0 -54
- data/test/json/secret_list.json +0 -44
- data/test/json/security.openshift.io_api_resource_list.json +0 -69
- data/test/json/security_context_constraint_list.json +0 -375
- data/test/json/service.json +0 -33
- data/test/json/service_account.json +0 -25
- data/test/json/service_account_list.json +0 -82
- data/test/json/service_illegal_json_404.json +0 -1
- data/test/json/service_json_patch.json +0 -26
- data/test/json/service_list.json +0 -97
- data/test/json/service_merge_patch.json +0 -26
- data/test/json/service_patch.json +0 -25
- data/test/json/service_update.json +0 -22
- data/test/json/template.json +0 -27
- data/test/json/template.openshift.io_api_resource_list.json +0 -75
- data/test/json/template_list.json +0 -35
- data/test/json/versions_list.json +0 -6
- data/test/json/watch_stream.json +0 -3
- data/test/test_common.rb +0 -95
- data/test/test_common_url_handling.rb +0 -160
- data/test/test_component_status.rb +0 -29
- data/test/test_config.rb +0 -222
- data/test/test_endpoint.rb +0 -54
- data/test/test_exec_credentials.rb +0 -225
- data/test/test_gcp_command_credentials.rb +0 -27
- data/test/test_google_application_default_credentials.rb +0 -15
- data/test/test_guestbook_go.rb +0 -235
- data/test/test_helper.rb +0 -18
- data/test/test_kubeclient.rb +0 -881
- data/test/test_limit_range.rb +0 -25
- data/test/test_missing_methods.rb +0 -80
- data/test/test_namespace.rb +0 -59
- data/test/test_node.rb +0 -70
- data/test/test_oidc_auth_provider.rb +0 -103
- data/test/test_persistent_volume.rb +0 -29
- data/test/test_persistent_volume_claim.rb +0 -28
- data/test/test_pod.rb +0 -81
- data/test/test_pod_log.rb +0 -157
- data/test/test_process_template.rb +0 -80
- data/test/test_replication_controller.rb +0 -47
- data/test/test_resource_list_without_kind.rb +0 -78
- data/test/test_resource_quota.rb +0 -23
- data/test/test_secret.rb +0 -62
- data/test/test_security_context_constraint.rb +0 -62
- data/test/test_service.rb +0 -357
- data/test/test_service_account.rb +0 -26
- data/test/test_watch.rb +0 -195
- data/test/txt/pod_log.txt +0 -6
- data/test/valid_token_file +0 -1
@@ -1,181 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"kind": "APIResourceList",
|
3
|
-
"groupVersion": "v1",
|
4
|
-
"resources": [
|
5
|
-
{
|
6
|
-
"name": "bindings",
|
7
|
-
"namespaced": true,
|
8
|
-
"kind": "Binding"
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"name": "componentstatuses",
|
12
|
-
"namespaced": false,
|
13
|
-
"kind": "ComponentStatus"
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"name": "configmaps",
|
17
|
-
"namespaced": true,
|
18
|
-
"kind": "ConfigMap"
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"name": "endpoints",
|
22
|
-
"namespaced": true,
|
23
|
-
"kind": "Endpoints"
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"name": "events",
|
27
|
-
"namespaced": true,
|
28
|
-
"kind": "Event"
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"name": "limitranges",
|
32
|
-
"namespaced": true,
|
33
|
-
"kind": "LimitRange"
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"name": "namespaces",
|
37
|
-
"namespaced": false,
|
38
|
-
"kind": "Namespace"
|
39
|
-
},
|
40
|
-
{
|
41
|
-
"name": "namespaces/finalize",
|
42
|
-
"namespaced": false,
|
43
|
-
"kind": "Namespace"
|
44
|
-
},
|
45
|
-
{
|
46
|
-
"name": "namespaces/status",
|
47
|
-
"namespaced": false,
|
48
|
-
"kind": "Namespace"
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"name": "nodes",
|
52
|
-
"namespaced": false,
|
53
|
-
"kind": "Node"
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"name": "nodes/proxy",
|
57
|
-
"namespaced": false,
|
58
|
-
"kind": "Node"
|
59
|
-
},
|
60
|
-
{
|
61
|
-
"name": "nodes/status",
|
62
|
-
"namespaced": false,
|
63
|
-
"kind": "Node"
|
64
|
-
},
|
65
|
-
{
|
66
|
-
"name": "persistentvolumeclaims",
|
67
|
-
"namespaced": true,
|
68
|
-
"kind": "PersistentVolumeClaim"
|
69
|
-
},
|
70
|
-
{
|
71
|
-
"name": "persistentvolumeclaims/status",
|
72
|
-
"namespaced": true,
|
73
|
-
"kind": "PersistentVolumeClaim"
|
74
|
-
},
|
75
|
-
{
|
76
|
-
"name": "persistentvolumes",
|
77
|
-
"namespaced": false,
|
78
|
-
"kind": "PersistentVolume"
|
79
|
-
},
|
80
|
-
{
|
81
|
-
"name": "persistentvolumes/status",
|
82
|
-
"namespaced": false,
|
83
|
-
"kind": "PersistentVolume"
|
84
|
-
},
|
85
|
-
{
|
86
|
-
"name": "pods",
|
87
|
-
"namespaced": true,
|
88
|
-
"kind": "Pod"
|
89
|
-
},
|
90
|
-
{
|
91
|
-
"name": "pods/attach",
|
92
|
-
"namespaced": true,
|
93
|
-
"kind": "Pod"
|
94
|
-
},
|
95
|
-
{
|
96
|
-
"name": "pods/binding",
|
97
|
-
"namespaced": true,
|
98
|
-
"kind": "Binding"
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"name": "pods/exec",
|
102
|
-
"namespaced": true,
|
103
|
-
"kind": "Pod"
|
104
|
-
},
|
105
|
-
{
|
106
|
-
"name": "pods/log",
|
107
|
-
"namespaced": true,
|
108
|
-
"kind": "Pod"
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"name": "pods/portforward",
|
112
|
-
"namespaced": true,
|
113
|
-
"kind": "Pod"
|
114
|
-
},
|
115
|
-
{
|
116
|
-
"name": "pods/proxy",
|
117
|
-
"namespaced": true,
|
118
|
-
"kind": "Pod"
|
119
|
-
},
|
120
|
-
{
|
121
|
-
"name": "pods/status",
|
122
|
-
"namespaced": true,
|
123
|
-
"kind": "Pod"
|
124
|
-
},
|
125
|
-
{
|
126
|
-
"name": "podtemplates",
|
127
|
-
"namespaced": true,
|
128
|
-
"kind": "PodTemplate"
|
129
|
-
},
|
130
|
-
{
|
131
|
-
"name": "replicationcontrollers",
|
132
|
-
"namespaced": true,
|
133
|
-
"kind": "ReplicationController"
|
134
|
-
},
|
135
|
-
{
|
136
|
-
"name": "replicationcontrollers/scale",
|
137
|
-
"namespaced": true,
|
138
|
-
"kind": "Scale"
|
139
|
-
},
|
140
|
-
{
|
141
|
-
"name": "replicationcontrollers/status",
|
142
|
-
"namespaced": true,
|
143
|
-
"kind": "ReplicationController"
|
144
|
-
},
|
145
|
-
{
|
146
|
-
"name": "resourcequotas",
|
147
|
-
"namespaced": true,
|
148
|
-
"kind": "ResourceQuota"
|
149
|
-
},
|
150
|
-
{
|
151
|
-
"name": "resourcequotas/status",
|
152
|
-
"namespaced": true,
|
153
|
-
"kind": "ResourceQuota"
|
154
|
-
},
|
155
|
-
{
|
156
|
-
"name": "secrets",
|
157
|
-
"namespaced": true,
|
158
|
-
"kind": "Secret"
|
159
|
-
},
|
160
|
-
{
|
161
|
-
"name": "serviceaccounts",
|
162
|
-
"namespaced": true,
|
163
|
-
"kind": "ServiceAccount"
|
164
|
-
},
|
165
|
-
{
|
166
|
-
"name": "services",
|
167
|
-
"namespaced": true,
|
168
|
-
"kind": "Service"
|
169
|
-
},
|
170
|
-
{
|
171
|
-
"name": "services/proxy",
|
172
|
-
"namespaced": true,
|
173
|
-
"kind": "Service"
|
174
|
-
},
|
175
|
-
{
|
176
|
-
"name": "services/status",
|
177
|
-
"namespaced": true,
|
178
|
-
"kind": "Service"
|
179
|
-
}
|
180
|
-
]
|
181
|
-
}
|
@@ -1,129 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"groupVersion": "v1",
|
3
|
-
"resources": [
|
4
|
-
{
|
5
|
-
"name": "bindings",
|
6
|
-
"namespaced": true
|
7
|
-
},
|
8
|
-
{
|
9
|
-
"name": "componentstatuses",
|
10
|
-
"namespaced": true
|
11
|
-
},
|
12
|
-
{
|
13
|
-
"name": "endpoints",
|
14
|
-
"namespaced": true
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"name": "events",
|
18
|
-
"namespaced": true
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"name": "limitranges",
|
22
|
-
"namespaced": true
|
23
|
-
},
|
24
|
-
{
|
25
|
-
"name": "namespaces",
|
26
|
-
"namespaced": false
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"name": "namespaces/finalize",
|
30
|
-
"namespaced": false
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"name": "namespaces/status",
|
34
|
-
"namespaced": false
|
35
|
-
},
|
36
|
-
{
|
37
|
-
"name": "nodes",
|
38
|
-
"namespaced": false
|
39
|
-
},
|
40
|
-
{
|
41
|
-
"name": "nodes/status",
|
42
|
-
"namespaced": false
|
43
|
-
},
|
44
|
-
{
|
45
|
-
"name": "persistentvolumeclaims",
|
46
|
-
"namespaced": true
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"name": "persistentvolumeclaims/status",
|
50
|
-
"namespaced": true
|
51
|
-
},
|
52
|
-
{
|
53
|
-
"name": "persistentvolumes",
|
54
|
-
"namespaced": false
|
55
|
-
},
|
56
|
-
{
|
57
|
-
"name": "persistentvolumes/status",
|
58
|
-
"namespaced": false
|
59
|
-
},
|
60
|
-
{
|
61
|
-
"name": "pods",
|
62
|
-
"namespaced": true
|
63
|
-
},
|
64
|
-
{
|
65
|
-
"name": "pods/attach",
|
66
|
-
"namespaced": true
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"name": "pods/binding",
|
70
|
-
"namespaced": true
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"name": "pods/exec",
|
74
|
-
"namespaced": true
|
75
|
-
},
|
76
|
-
{
|
77
|
-
"name": "pods/log",
|
78
|
-
"namespaced": true
|
79
|
-
},
|
80
|
-
{
|
81
|
-
"name": "pods/portforward",
|
82
|
-
"namespaced": true
|
83
|
-
},
|
84
|
-
{
|
85
|
-
"name": "pods/proxy",
|
86
|
-
"namespaced": true
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"name": "pods/status",
|
90
|
-
"namespaced": true
|
91
|
-
},
|
92
|
-
{
|
93
|
-
"name": "podtemplates",
|
94
|
-
"namespaced": true
|
95
|
-
},
|
96
|
-
{
|
97
|
-
"name": "replicationcontrollers",
|
98
|
-
"namespaced": true
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"name": "replicationcontrollers/status",
|
102
|
-
"namespaced": true
|
103
|
-
},
|
104
|
-
{
|
105
|
-
"name": "resourcequotas",
|
106
|
-
"namespaced": true
|
107
|
-
},
|
108
|
-
{
|
109
|
-
"name": "resourcequotas/status",
|
110
|
-
"namespaced": true
|
111
|
-
},
|
112
|
-
{
|
113
|
-
"name": "secrets",
|
114
|
-
"namespaced": true
|
115
|
-
},
|
116
|
-
{
|
117
|
-
"name": "securitycontextconstraints",
|
118
|
-
"namespaced": false
|
119
|
-
},
|
120
|
-
{
|
121
|
-
"name": "serviceaccounts",
|
122
|
-
"namespaced": true
|
123
|
-
},
|
124
|
-
{
|
125
|
-
"name": "services",
|
126
|
-
"namespaced": true
|
127
|
-
}
|
128
|
-
]
|
129
|
-
}
|
@@ -1,197 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"groupVersion": "v1",
|
3
|
-
"resources": [
|
4
|
-
{
|
5
|
-
"name": "buildconfigs",
|
6
|
-
"namespaced": true
|
7
|
-
},
|
8
|
-
{
|
9
|
-
"name": "buildconfigs/instantiate",
|
10
|
-
"namespaced": true
|
11
|
-
},
|
12
|
-
{
|
13
|
-
"name": "buildconfigs/instantiatebinary",
|
14
|
-
"namespaced": true
|
15
|
-
},
|
16
|
-
{
|
17
|
-
"name": "buildconfigs/webhooks",
|
18
|
-
"namespaced": true
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"name": "builds",
|
22
|
-
"namespaced": true
|
23
|
-
},
|
24
|
-
{
|
25
|
-
"name": "builds/clone",
|
26
|
-
"namespaced": true
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"name": "builds/details",
|
30
|
-
"namespaced": true
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"name": "builds/log",
|
34
|
-
"namespaced": true
|
35
|
-
},
|
36
|
-
{
|
37
|
-
"name": "clusternetworks",
|
38
|
-
"namespaced": false
|
39
|
-
},
|
40
|
-
{
|
41
|
-
"name": "clusterpolicies",
|
42
|
-
"namespaced": false
|
43
|
-
},
|
44
|
-
{
|
45
|
-
"name": "clusterpolicybindings",
|
46
|
-
"namespaced": false
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"name": "clusterrolebindings",
|
50
|
-
"namespaced": false
|
51
|
-
},
|
52
|
-
{
|
53
|
-
"name": "clusterroles",
|
54
|
-
"namespaced": false
|
55
|
-
},
|
56
|
-
{
|
57
|
-
"name": "deploymentconfigrollbacks",
|
58
|
-
"namespaced": true
|
59
|
-
},
|
60
|
-
{
|
61
|
-
"name": "deploymentconfigs",
|
62
|
-
"namespaced": true
|
63
|
-
},
|
64
|
-
{
|
65
|
-
"name": "deploymentconfigs/log",
|
66
|
-
"namespaced": true
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"name": "deploymentconfigs/scale",
|
70
|
-
"namespaced": true
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"name": "generatedeploymentconfigs",
|
74
|
-
"namespaced": true
|
75
|
-
},
|
76
|
-
{
|
77
|
-
"name": "groups",
|
78
|
-
"namespaced": false
|
79
|
-
},
|
80
|
-
{
|
81
|
-
"name": "hostsubnets",
|
82
|
-
"namespaced": false
|
83
|
-
},
|
84
|
-
{
|
85
|
-
"name": "identities",
|
86
|
-
"namespaced": false
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"name": "images",
|
90
|
-
"namespaced": false
|
91
|
-
},
|
92
|
-
{
|
93
|
-
"name": "imagestreamimages",
|
94
|
-
"namespaced": true
|
95
|
-
},
|
96
|
-
{
|
97
|
-
"name": "imagestreammappings",
|
98
|
-
"namespaced": true
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"name": "imagestreams",
|
102
|
-
"namespaced": true
|
103
|
-
},
|
104
|
-
{
|
105
|
-
"name": "imagestreams/status",
|
106
|
-
"namespaced": true
|
107
|
-
},
|
108
|
-
{
|
109
|
-
"name": "imagestreamtags",
|
110
|
-
"namespaced": true
|
111
|
-
},
|
112
|
-
{
|
113
|
-
"name": "localresourceaccessreviews",
|
114
|
-
"namespaced": true
|
115
|
-
},
|
116
|
-
{
|
117
|
-
"name": "localsubjectaccessreviews",
|
118
|
-
"namespaced": true
|
119
|
-
},
|
120
|
-
{
|
121
|
-
"name": "netnamespaces",
|
122
|
-
"namespaced": false
|
123
|
-
},
|
124
|
-
{
|
125
|
-
"name": "oauthaccesstokens",
|
126
|
-
"namespaced": false
|
127
|
-
},
|
128
|
-
{
|
129
|
-
"name": "oauthauthorizetokens",
|
130
|
-
"namespaced": false
|
131
|
-
},
|
132
|
-
{
|
133
|
-
"name": "oauthclientauthorizations",
|
134
|
-
"namespaced": false
|
135
|
-
},
|
136
|
-
{
|
137
|
-
"name": "oauthclients",
|
138
|
-
"namespaced": false
|
139
|
-
},
|
140
|
-
{
|
141
|
-
"name": "policies",
|
142
|
-
"namespaced": true
|
143
|
-
},
|
144
|
-
{
|
145
|
-
"name": "policybindings",
|
146
|
-
"namespaced": true
|
147
|
-
},
|
148
|
-
{
|
149
|
-
"name": "processedtemplates",
|
150
|
-
"namespaced": true
|
151
|
-
},
|
152
|
-
{
|
153
|
-
"name": "projectrequests",
|
154
|
-
"namespaced": false
|
155
|
-
},
|
156
|
-
{
|
157
|
-
"name": "projects",
|
158
|
-
"namespaced": false
|
159
|
-
},
|
160
|
-
{
|
161
|
-
"name": "resourceaccessreviews",
|
162
|
-
"namespaced": true
|
163
|
-
},
|
164
|
-
{
|
165
|
-
"name": "rolebindings",
|
166
|
-
"namespaced": true
|
167
|
-
},
|
168
|
-
{
|
169
|
-
"name": "roles",
|
170
|
-
"namespaced": true
|
171
|
-
},
|
172
|
-
{
|
173
|
-
"name": "routes",
|
174
|
-
"namespaced": true
|
175
|
-
},
|
176
|
-
{
|
177
|
-
"name": "routes/status",
|
178
|
-
"namespaced": true
|
179
|
-
},
|
180
|
-
{
|
181
|
-
"name": "subjectaccessreviews",
|
182
|
-
"namespaced": true
|
183
|
-
},
|
184
|
-
{
|
185
|
-
"name": "templates",
|
186
|
-
"namespaced": true
|
187
|
-
},
|
188
|
-
{
|
189
|
-
"name": "useridentitymappings",
|
190
|
-
"namespaced": false
|
191
|
-
},
|
192
|
-
{
|
193
|
-
"name": "users",
|
194
|
-
"namespaced": false
|
195
|
-
}
|
196
|
-
]
|
197
|
-
}
|