Sha256: a0dfa1252e3cd8bab21b38935cdeacf8939edf957d531829dd6bfee717a0452b

Contents?: true

Size: 234 Bytes

Versions: 5

Compression:

Stored size: 234 Bytes

Contents

require 'open3'

$release_name = 'redis'
stdout, stderr, _ = Open3.capture3 "kubectl get pods -lapp.kubernetes.io/managed-by=Helm,app.kubernetes.io/instance=#{$release_name} -o name"
if stderr.empty?
  puts stdout.lines.join(',')
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
helm_upgrade_logs-0.2.3 get_pods.rb
helm_upgrade_logs-0.2.2 get_pods.rb
helm_upgrade_logs-0.2.1 get_pods.rb
helm_upgrade_logs-0.2.0 get_pods.rb
helm_upgrade_logs-0.1.7 get_pods.rb