krane 2.1.6 → 2.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/krane/cluster_resource_discovery.rb +1 -1
- data/lib/krane/container_logs.rb +1 -1
- data/lib/krane/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ea9b225a3125e3282de257f17c7d0b1752e710378810b3d6bef4b491e93b9a1d
|
|
4
|
+
data.tar.gz: e527ce76d2a9a8fcded6d430894ce845b50d852a18c836006e4d322bbdc33c3f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: efa243480b90f8ed0c694a012bbb3c0ef359b911beff69e9661201d355e131d92553f241ad1ee33b983125c516575be2d3243fe4e3ede37832220fefa6b01930
|
|
7
|
+
data.tar.gz: d736754902a0a6bed299e8cfb2fb41cd0f849da183bddfc327fb319e120dc2a4e7ae1ffd56520beec94c867206dbbaa046cd9fb114f5bfae3b632f909e38d28c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
## next
|
|
2
2
|
|
|
3
|
+
## 2.1.7
|
|
4
|
+
|
|
5
|
+
*Enhancements*
|
|
6
|
+
- ENV["KRANE_LOG_LINE_LIMIT"] allows the number of container logs printed for failures to be configurable from the 25 line default [#803](https://github.com/Shopify/krane/pull/803).
|
|
7
|
+
|
|
8
|
+
## 2.1.6
|
|
9
|
+
|
|
3
10
|
*Enhancements*
|
|
4
11
|
- Remove the need for a hard coded GVK overide list via improvements to cluster discovery [#778](https://github.com/Shopify/krane/pull/778)
|
|
5
12
|
|
|
@@ -101,7 +101,7 @@ module Krane
|
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
def kubectl
|
|
104
|
-
@kubectl ||= Kubectl.new(task_config: @task_config, log_failure_by_default: true, default_timeout:
|
|
104
|
+
@kubectl ||= Kubectl.new(task_config: @task_config, log_failure_by_default: true, default_timeout: 2)
|
|
105
105
|
end
|
|
106
106
|
end
|
|
107
107
|
end
|
data/lib/krane/container_logs.rb
CHANGED
|
@@ -3,7 +3,7 @@ module Krane
|
|
|
3
3
|
class ContainerLogs
|
|
4
4
|
attr_reader :lines, :container_name
|
|
5
5
|
|
|
6
|
-
DEFAULT_LINE_LIMIT = 25
|
|
6
|
+
DEFAULT_LINE_LIMIT = Integer(ENV.fetch('KRANE_LOG_LINE_LIMIT', 25))
|
|
7
7
|
|
|
8
8
|
def initialize(parent_id:, container_name:, namespace:, context:, logger:)
|
|
9
9
|
@parent_id = parent_id
|
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: 2.1.
|
|
4
|
+
version: 2.1.7
|
|
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: 2021-02-
|
|
13
|
+
date: 2021-02-22 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: activesupport
|