Sha256: c0d04160567386db4833ebe82a14240824ad7bd92747661bf9ba42fc1501ccdc
Contents?: true
Size: 479 Bytes
Versions: 1
Compression:
Stored size: 479 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true $LOAD_PATH.unshift File.join(File.dirname(__FILE__), "..", "lib") require 'helm_upgrade_logs' helm_pid = Process.spawn "helm upgrade #{ARGV.join(' ')}" event_pid = Process.spawn 'kubectl get events --watch-only=true' sleep 5 log_pid = Process.spawn 'kubectl logs -lapp.kubernetes.io/managed-by=Helm -f --all-containers --prefix --pod-running-timeout=20s' Process.wait helm_pid puts `kill #{log_pid}` puts `kill #{event_pid}`
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
helm_upgrade_logs-0.1.2 | exe/helm_upgrade_logs |