kontena-cli 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/kontena/cli/certificate/authorize_command.rb +2 -2
- data/lib/kontena/stacks_cache.rb +0 -2
- 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: 5298cfc20e3f191ba686b572289d9cf0fba026b5c99c585766ce65a97b0336f0
|
4
|
+
data.tar.gz: 96502d772eca0ab27d1aae5825379319228cb6d62c37243ae6962b3fa04aa0d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0bc9fbc4b06a93f7b86a2bcc4e7d40d8707885e848f84a51598bf713a0491a26fd91b5b64f376af888c9ccfdd6076063b81783fac61e56a00c024a30ba4a8d2
|
7
|
+
data.tar.gz: 7628ef5cac5c96e252f959102764fe4ed2160b8b42a817ab755af764853a97239805f10b7a2cf978d1d14cf2ef400a06bf5db4b0df9f026ad322e6dce8de300c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5.
|
1
|
+
1.5.2
|
@@ -10,8 +10,8 @@ module Kontena::Cli::Certificate
|
|
10
10
|
|
11
11
|
parameter "DOMAIN", "Domain to authorize"
|
12
12
|
|
13
|
-
option '--type', 'AUTHORIZATION_TYPE', 'Authorization type, either
|
14
|
-
option '--linked-service', "LINKED_SERVICE", 'A service (usually LB) where the tls-sni-01 challenge
|
13
|
+
option '--type', 'AUTHORIZATION_TYPE', 'Authorization type, either http-01, dns-01 or tls-sni-01 (renewals only)', default: 'dns-01'
|
14
|
+
option '--linked-service', "LINKED_SERVICE", 'A service (usually LB) where the http-01/tls-sni-01 challenge is deployed to'
|
15
15
|
|
16
16
|
requires_current_master
|
17
17
|
requires_current_master_token
|
data/lib/kontena/stacks_cache.rb
CHANGED
@@ -19,7 +19,6 @@ module Kontena
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def write(content)
|
22
|
-
puts "WHATHAT??? #{stack_name.inspect} #{stack_name.version} #{stack_name.stack_name}"
|
23
22
|
raise ArgumentError, "Stack name and version required" unless stack_name.stack_name && stack_name.version
|
24
23
|
unless File.directory?(File.dirname(path))
|
25
24
|
require 'fileutils'
|
@@ -75,7 +74,6 @@ module Kontena
|
|
75
74
|
content = client.pull(stack_name)
|
76
75
|
yaml = ::YAML.safe_load(content, [], [], true, stack.stack_name.to_s)
|
77
76
|
new_stack_name = Kontena::Cli::Stacks::StackName.new(yaml['stack'], yaml['version'])
|
78
|
-
puts new_stack_name.inspect
|
79
77
|
new_stack = CachedStack.new(new_stack_name)
|
80
78
|
if new_stack.cached?
|
81
79
|
dputs "Already cached"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kontena-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kontena, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|