kuberun 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/kuberun/commands/run_pod.rb +8 -2
- data/lib/kuberun/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3eaad475cc31f8c5b90c13774b5c19309c7ccf357e1eb73015329bd2439c22fb
|
4
|
+
data.tar.gz: 7efab90cbd8f29e62d285aba23677b2ffef73328ff11ce688e690a960d1a2b02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 980ff379a62ade541a7d9c2818c1142a816cb29b21a43f7cac1b04aae9e2e0513bbec07e3a5cd3c7fcd598ad379e63d7dc419036b20e1e7051a7d1099ebf9d32
|
7
|
+
data.tar.gz: 491912d32f17bd302b0ab8a2676679b3186f4d95fa26fd1d4af1988004290777f47c71c679a6d33e3349e004094aedf91d03c8ce696b217dedca77374e82d877
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
kuberun (0.1.
|
4
|
+
kuberun (0.1.2)
|
5
5
|
pastel (~> 0.7.2)
|
6
6
|
thor (~> 0.20.0)
|
7
7
|
tty-color (~> 0.4.2)
|
@@ -71,7 +71,7 @@ GEM
|
|
71
71
|
timers (4.1.2)
|
72
72
|
hitimes
|
73
73
|
tty-color (0.4.3)
|
74
|
-
tty-command (0.8.
|
74
|
+
tty-command (0.8.2)
|
75
75
|
pastel (~> 0.7.0)
|
76
76
|
tty-config (0.2.0)
|
77
77
|
tty-cursor (0.5.0)
|
@@ -73,9 +73,15 @@ module Kuberun
|
|
73
73
|
'kuberun-source' => @deployment_name,
|
74
74
|
}
|
75
75
|
|
76
|
-
pod_template['spec']['containers']
|
77
|
-
|
76
|
+
pod_template['spec']['containers'].each do |container|
|
77
|
+
container.delete('livenessProbe')
|
78
|
+
container.delete('readinessProbe')
|
79
|
+
container['command'] = %w[/bin/sh -c --]
|
80
|
+
container['args'] = ['while true; do sleep 1000; done']
|
81
|
+
end
|
82
|
+
|
78
83
|
pod_template['spec'].delete('affinity')
|
84
|
+
pod_template['spec']['terminationGracePeriodSeconds'] = 0
|
79
85
|
end
|
80
86
|
|
81
87
|
def wait_while
|
data/lib/kuberun/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kuberun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kruczjak
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pastel
|