kubeclient 0.8.0 → 0.8.1
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/lib/kubeclient/common.rb +2 -0
- data/lib/kubeclient/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89981c7be5cb927a6c04b5c8c40304476a21f56f
|
4
|
+
data.tar.gz: b81b39d1e30735371b0e2d74109541a38a7cacf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bbd52b20567a3c70eeb0a784a0e608e6adcbf451b0ba61b10565aaafd831f972f717902d62b3daeeef5ed2bc3297083e471a8f430c7142af2cf6e1581ab12b8
|
7
|
+
data.tar.gz: 2b549a7cbde4f56ec88c0a7ef5fd802718d40536549507d912e682026cebde0cc7a999e66f764cd0095a568e604a54304d87de7674dbb6b3eba3edd772a188f6
|
data/lib/kubeclient/common.rb
CHANGED
@@ -194,6 +194,7 @@ module Kubeclient
|
|
194
194
|
# https://github.com/GoogleCloudPlatform/kubernetes/issues/6439
|
195
195
|
hash['kind'] = entity_type
|
196
196
|
hash['apiVersion'] = @api_version
|
197
|
+
@headers['Content-Type'] = 'application/json'
|
197
198
|
response = handle_exception do
|
198
199
|
rest_client[ns_prefix + resource_name(entity_type)]
|
199
200
|
.post(hash.to_json, @headers)
|
@@ -208,6 +209,7 @@ module Kubeclient
|
|
208
209
|
# struct
|
209
210
|
hash = entity_config.to_hash
|
210
211
|
ns_prefix = build_namespace_prefix(entity_config.metadata['table'][:namespace])
|
212
|
+
@headers['Content-Type'] = 'application/json'
|
211
213
|
handle_exception do
|
212
214
|
rest_client[ns_prefix + resource_name(entity_type) + "/#{name}"]
|
213
215
|
.put(hash.to_json, @headers)
|
data/lib/kubeclient/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kubeclient
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alissa Bonas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|