sensu-plugins-kubernetes 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 45a45dc3c0d473178c20e48f82d9963c11f44d6cedd3bfe5ee7485834042ed95
4
- data.tar.gz: 24b10e2d96052d3519623e615b3e256232fa49b9a9f09f1a137901407d7b2c10
2
+ SHA1:
3
+ metadata.gz: f3bbe9f2b90da4919fb1a403b101e1dabfd43ce1
4
+ data.tar.gz: ad4e135e5747970d71324d286f1b292b37767012
5
5
  SHA512:
6
- metadata.gz: b91a158f2ca9de86fe65a2d2b063f2fac90711b83dad7557d2e04f5310f3c765a2aecafe5518324026ec7e32b89e206fbeba62150eed8c861a72a31c94b0a6a8
7
- data.tar.gz: c75419669faf06fd1e852f6580165aa75d009651257ef6dfe14da67026e9f333146ac1ee7fa54035a6aedb93aa387e49a5e1a4d2b53e15fdefbe17d85532861e
6
+ metadata.gz: c974c2ba6df8b42bdf5c9b95fe72d5a0034ae67854889075da4882ee828a11de3f650db36e53da9b845279f713438d974f59646ea179b503fb8983f3f20ac79c
7
+ data.tar.gz: ad23c84b62d7915847be73662d21ca640e5f4890670482564ff7dfe42fbd07e9a9c1a1adb4d011ce9fb2424a5d15afa880f023c8be24c4be6f82e28f0a4345b9
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here ](https://github.com/sensu-plugin
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [3.1.1] - 2018-11-01
9
+ ### Fixed
10
+ - `check-kube-nodes-ready.rb`, `check-kube-pods-pending.rb`, `check-kube-pods-restarting.rb`, `check-kube-pods-running.rb`: fix exception when pod.spec.nodeName == nil (i.e. pod not assigned to a node) (@ttarczynski)
11
+
8
12
  ## [3.1.0] - 2018-10-29
9
13
  ### Added
10
14
  - `check-kube-nodes-ready.rb`, `check-kube-pods-pending.rb`, `check-kube-pods-restarting.rb`, `check-kube-pods-running.rb`: added options `--included-nodes` and `--excluded-nodes` which support a comma separated list so you can filter nodes (@ttarczynski)
@@ -72,7 +76,8 @@ pending pods, the restart count portion has been split into it's own check, `che
72
76
  ### Added
73
77
  - initial release
74
78
 
75
- [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-kubernetes/compare/3.1.0...HEAD
79
+ [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-kubernetes/compare/3.1.1...HEAD
80
+ [3.1.1]: https://github.com/sensu-plugins/sensu-plugins-kubernetes/compare/3.1.0...3.1.1
76
81
  [3.1.0]: https://github.com/sensu-plugins/sensu-plugins-kubernetes/compare/3.0.1...3.1.0
77
82
  [3.0.1]: https://github.com/sensu-plugins/sensu-plugins-kubernetes/compare/3.0.0...3.0.0.1
78
83
  [3.0.0]: https://github.com/sensu-plugins/sensu-plugins-kubernetes/compare/2.0.0...3.0.0
@@ -25,7 +25,11 @@ module Sensu
25
25
  end
26
26
 
27
27
  def should_exclude_node(node_name)
28
- node_excluded?(node_name) || !node_included?(node_name)
28
+ if node_name.nil?
29
+ false
30
+ else
31
+ node_excluded?(node_name) || !node_included?(node_name)
32
+ end
29
33
  end
30
34
  end
31
35
  end
@@ -2,7 +2,7 @@ module SensuPluginsKubernetes
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 1
5
- PATCH = 0
5
+ PATCH = 1
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-plugins-kubernetes
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sensu-Plugins and contributors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-30 00:00:00.000000000 Z
11
+ date: 2018-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sensu-plugin
@@ -181,14 +181,14 @@ dependencies:
181
181
  description: Provides monitoring for Kubernetes via Sensu
182
182
  email: "<sensu-users@googlegroups.com>"
183
183
  executables:
184
- - check-kube-service-available.rb
185
184
  - check-kube-pods-running.rb
186
- - handler-kube-pod.rb
187
- - check-kube-pods-runtime.rb
188
185
  - metrics-pods.rb
189
- - check-kube-pods-pending.rb
186
+ - check-kube-pods-runtime.rb
190
187
  - check-kube-nodes-ready.rb
191
188
  - check-kube-pods-restarting.rb
189
+ - handler-kube-pod.rb
190
+ - check-kube-pods-pending.rb
191
+ - check-kube-service-available.rb
192
192
  - check-kube-apiserver-available.rb
193
193
  extensions: []
194
194
  extra_rdoc_files: []
@@ -236,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
236
236
  version: '0'
237
237
  requirements: []
238
238
  rubyforge_project:
239
- rubygems_version: 2.7.7
239
+ rubygems_version: 2.6.11
240
240
  signing_key:
241
241
  specification_version: 4
242
242
  summary: Sensu plugins for kubernetes