k9s_kit 0.0.7.pre.pre5 → 0.0.7.pre.pre6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/k8s_kit/job.rb +1 -0
- data/lib/k8s_kit/pod.rb +1 -1
- data/lib/k8s_kit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94687a8a2addbaf46b4a57c832d6cb32957ff394016c9b7df4439fb2f66cc493
|
4
|
+
data.tar.gz: 2670736bfee9e4aa75a72cf4cdeaa30988f5414f4efaea72a23d5b73b8c39cc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af69aad13c420916d21be09877231fd18cd89b4163fc29d318aad90389daeff6ad7646473311e55804ac10e2ca4382ade3551b0ef8f2d52f6add384c44ae8426
|
7
|
+
data.tar.gz: 34a157dad0fe862dacd4ed317c6a8a20ba5412d3dd295e16696d174c08361adb15861e0aa1010d42c71bd5209738c546571a6f480610a38539aa4fd6cc67b772
|
data/lib/k8s_kit/job.rb
CHANGED
data/lib/k8s_kit/pod.rb
CHANGED
@@ -25,7 +25,7 @@ module K8sKit
|
|
25
25
|
|
26
26
|
def exit_code(container:)
|
27
27
|
json_path = "{ .status.containerStatuses[?(@.name == '#{container}')].state.terminated.exitCode }"
|
28
|
-
context.run("get pod #{name} -o jsonpath=\"#{json_path}\"")
|
28
|
+
Integer(context.run("get pod #{name} -o jsonpath=\"#{json_path}\""))
|
29
29
|
rescue StandardError
|
30
30
|
puts "Eek"
|
31
31
|
nil
|
data/lib/k8s_kit/version.rb
CHANGED