k9s_kit 0.0.7.pre.pre4 → 0.0.7.pre.pre5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6ae62bc9d873abe8e1ec88d4eb2840940cd4445971233130c965e8ddf5fd333
4
- data.tar.gz: 2f1de8263c83df6ffde2f032e258bd3ddad3b7283e76f1bdb77e3641086bee34
3
+ metadata.gz: 0c19f7c3cd967dab783ac939aec70cac30d63aa7edd58fed7c23234e2b8bab68
4
+ data.tar.gz: f0af0db69964d54d103ec06ec48e0594d55e41d081b60fad1630ede8e55ac74f
5
5
  SHA512:
6
- metadata.gz: fa7efd4aa8e8803fc4485c75dbd170bdb9e76859ddb5fb83db47211433b1e02d632ef1815f50e210203dbcda3a1dbe9ee1850c17acc06769b161712443c26102
7
- data.tar.gz: e1fe0cc599580c9d182ce47e9b4cf09fde65ef5c896a2b038d4776b2331a2a74add038a484321fadc97f4433897fd79e7569c34a8b98694aabc672d04d5b8826
6
+ metadata.gz: 1975b3fa4b284a6a630906a0318e2edd0d9f5a2883e2b97f45b28b28c6481da1b0d54738da15c75c3c69766c645ad6def2b32d0d427c18542dccafa939bdbbb7
7
+ data.tar.gz: 557c70d84f6ea4912d8c98ca0c8d4bc83cb0a3d5483a1989846783de43c5bec22628b9d6e68a5f1899d78415bd80e01f2446dbbc40e9019ea3e966796eb081cf
@@ -15,6 +15,7 @@ module K8sKit
15
15
 
16
16
  def run(cmd, silent: true)
17
17
  cmd = "#{kubectl} #{cmd}"
18
+ puts "Running #{cmd}"
18
19
 
19
20
  out = []
20
21
  Open3.popen2e(cmd) do |stdin, stdout_err, wait_thr|
data/lib/k8s_kit/pod.rb CHANGED
@@ -27,6 +27,7 @@ module K8sKit
27
27
  json_path = "{ .status.containerStatuses[?(@.name == '#{container}')].state.terminated.exitCode }"
28
28
  context.run("get pod #{name} -o jsonpath=\"#{json_path}\"").to_i
29
29
  rescue StandardError
30
+ puts "Eek"
30
31
  nil
31
32
  end
32
33
  end
@@ -1,3 +1,3 @@
1
1
  module K8sKit
2
- VERSION = '0.0.7-pre4'
2
+ VERSION = '0.0.7-pre5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: k9s_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7.pre.pre4
4
+ version: 0.0.7.pre.pre5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Your Name Here