krane 3.5.1 → 3.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile +1 -1
- data/lib/krane/kubernetes_resource/stateful_set.rb +1 -1
- data/lib/krane/restart_task.rb +2 -3
- data/lib/krane/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af0a06d99b0fc63d756c43fc6eb172e8f8740593b82f9796606cc4a991e5fdd2
|
4
|
+
data.tar.gz: 2dc66222f165edd14b610f95cf222c46b37a4ba329facb91af5459bceed84908
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2372c3bdc698d592f732e7bff2ef5d7a0b44d9d4bd062eeb5ea65e5fc18f5e5cf52f54e3a43bfcdd07d7b1793afc8ce5ca7b34275a6e0d4c2edf7465d4c4d7aa
|
7
|
+
data.tar.gz: 5db1734d216135fb0655e8c979c216c9d3adfa7c09f1e336594603b466b818dd4db3acdb5a90b86fb46d947e283a0bf207bee824a5dd31bea2e1c599bea2df90
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
## next
|
2
2
|
|
3
|
+
## 3.5.3
|
4
|
+
|
5
|
+
- Fix a minor bug in the RestartAPIError class (https://github.com/Shopify/krane/pull/953)
|
6
|
+
|
7
|
+
## 3.5.2
|
8
|
+
|
9
|
+
- Fixed an issue where deploying StatefulSets monitored the health of the previous revision's pods instead of the updated one.
|
10
|
+
|
3
11
|
## 3.5.1
|
4
12
|
|
5
13
|
- Fixed successful deployment check for StatefulSets introduced in v3.3.0.
|
data/Gemfile
CHANGED
@@ -65,7 +65,7 @@ module Krane
|
|
65
65
|
def parent_of_pod?(pod_data)
|
66
66
|
return false unless pod_data.dig("metadata", "ownerReferences")
|
67
67
|
pod_data["metadata"]["ownerReferences"].any? { |ref| ref["uid"] == @instance_data["metadata"]["uid"] } &&
|
68
|
-
@instance_data["status"]["
|
68
|
+
@instance_data["status"]["updateRevision"] == pod_data["metadata"]["labels"]["controller-revision-hash"]
|
69
69
|
end
|
70
70
|
|
71
71
|
def required_rollout
|
data/lib/krane/restart_task.rb
CHANGED
@@ -12,10 +12,9 @@ module Krane
|
|
12
12
|
class FatalRestartError < FatalDeploymentError; end
|
13
13
|
|
14
14
|
class RestartAPIError < FatalRestartError
|
15
|
-
def initialize(deployment_name,
|
15
|
+
def initialize(deployment_name, message)
|
16
16
|
super("Failed to restart #{deployment_name}. " \
|
17
|
-
"
|
18
|
-
"Response:\n#{response.body}")
|
17
|
+
"Error:\n#{message}")
|
19
18
|
end
|
20
19
|
end
|
21
20
|
|
data/lib/krane/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: krane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.5.
|
4
|
+
version: 3.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katrina Verey
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-
|
13
|
+
date: 2024-05-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -525,7 +525,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
525
525
|
- !ruby/object:Gem::Version
|
526
526
|
version: '0'
|
527
527
|
requirements: []
|
528
|
-
rubygems_version: 3.5.
|
528
|
+
rubygems_version: 3.5.10
|
529
529
|
signing_key:
|
530
530
|
specification_version: 4
|
531
531
|
summary: A command line tool that helps you ship changes to a Kubernetes namespace
|