helm_upgrade_logs 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/exe/helm_upgrade_logs +4 -1
- data/lib/helm_upgrade_logs/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: b684e4674b966c9d98079db28468bf57ef4001864339ee751fcac7f732f8ec6e
|
4
|
+
data.tar.gz: 159438d7491016b11312941dd3fe9a7ff9a89234587243e0ce879bf5675af6f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9617547cfeb95b3b547196844bfa8cdfc20b33246b28c6b65b274dd2cba2a0271dfbe0574f96eb46daf50fb413ec10d6a45412d8010d94500ec3fa90710a9fcb
|
7
|
+
data.tar.gz: 67e19d49ffdd9ad203de6c7adb82f4344e35fb2b8637d2e32fb6f9df83c1d552cf63506ea67e3ce2c0a714f72b2b1a841256c7d418e57356d445cfc6dc6e6c0e
|
data/CHANGELOG.md
CHANGED
data/exe/helm_upgrade_logs
CHANGED
@@ -10,6 +10,9 @@ require "helm_upgrade_logs"
|
|
10
10
|
|
11
11
|
@helm_pid = Process.spawn "helm upgrade #{ARGV.join(" ")}"
|
12
12
|
|
13
|
+
pods_before_upgrade = read_pods
|
14
|
+
puts "[INFO] Pods before upgrade #{pods_before_upgrade}" if pods_before_upgrade.size.positive?
|
15
|
+
|
13
16
|
event_pid = Process.spawn(add_ns("kubectl get events --watch-only=true"))
|
14
17
|
service_pid = Process.spawn(add_ns("kubectl get services --watch-only=true"))
|
15
18
|
|
@@ -27,7 +30,7 @@ rescue Errno::ECHILD
|
|
27
30
|
end
|
28
31
|
|
29
32
|
while Process.waitpid(@helm_pid, Process::WNOHANG).nil?
|
30
|
-
pods = read_pods
|
33
|
+
pods = read_pods - pods_before_upgrade
|
31
34
|
if pods != @pods
|
32
35
|
@pods = pods
|
33
36
|
puts "[INFO] Pods: #{pods.join(",")}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: helm_upgrade_logs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Garratt
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Basic wrapper around helm and kubectl to allow easy debugging of a helm
|
14
14
|
release. All arguments after a usual helm upgrade are used as normal
|