krane 3.0.0 → 3.0.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
2
  SHA256:
3
- metadata.gz: aeb4645e62609672df9a1a4fbe8323e801cdc904d45ae79aaa047d1f1cb8f1e7
4
- data.tar.gz: de5c4a20c870041a532d22208c23d002f14c5ff0b6dae8ba8db1b9cc2d088c36
3
+ metadata.gz: 0adeae93b11df014e5175f2480bb9444696422cd444a6f21af6576dc513667a2
4
+ data.tar.gz: 3a91931698e50d564f00ab9aee479013a6144171b2c7f419896995e98da75aa6
5
5
  SHA512:
6
- metadata.gz: a8e4b1a9d17a537c533c8ecab1a7146c093ef6b0ddaedcbab76b7451d9ff18541ea73788614ba74739d1804a08146bb98e26d3f984b902dc6d609bcc8ca95a5a
7
- data.tar.gz: 45aff6ae937b76ffb4cbb1f7fe3ffd4eceb73ae48442f8260c2a97689191cbfc991ba7767736aa2b048db51d5f1f169f8062d3e0d1c0c60acd8ee550c66e0690
6
+ metadata.gz: ad50ca73cdf726c67c3141514c8aa74e8a75a5213c526b2df320ab68f96badc20933ea0a3b3d061e4948b5f92b0dfdbfebfa9f775b584375ff143f755945224a
7
+ data.tar.gz: 4506829e23ed07b73522ead0ca01e00eeb8dd21f313f292bae99f54af946d8b68cb63f4ab4d3ae78600b26a7f08a7da372257cb6c234a5c3a42122c78e9df71c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## next
2
2
 
3
+ ## 3.0.1
4
+
5
+ - Add `Event` to the list of resources not to be pruned on a deployment. Kubernetes should clean these up automatically. This can cause unnessessary deployment timeouts and increased deployment time. [#909](https://github.com/Shopify/krane/pull/909)
3
6
 
4
7
  ## 3.0.0
5
8
 
@@ -19,7 +19,7 @@ module Krane
19
19
  end
20
20
 
21
21
  def prunable_resources(namespaced:)
22
- black_list = %w(Namespace Node ControllerRevision)
22
+ black_list = %w(Namespace Node ControllerRevision Event)
23
23
  fetch_resources(namespaced: namespaced).map do |resource|
24
24
  next unless resource["verbs"].one? { |v| v == "delete" }
25
25
  next if black_list.include?(resource["kind"])
data/lib/krane/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Krane
3
- VERSION = "3.0.0"
3
+ VERSION = "3.0.1"
4
4
  end
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.0.0
4
+ version: 3.0.1
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: 2022-10-14 00:00:00.000000000 Z
13
+ date: 2022-11-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport