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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72b2b2a5c0e8148dc7c3c925d4e92ac899a06867f031092ba71a4fada42b276e
4
- data.tar.gz: b66801389c973b07642a72927a4f6e0f1267d89e93838848ac1c0454a95dba37
3
+ metadata.gz: 5298cfc20e3f191ba686b572289d9cf0fba026b5c99c585766ce65a97b0336f0
4
+ data.tar.gz: 96502d772eca0ab27d1aae5825379319228cb6d62c37243ae6962b3fa04aa0d3
5
5
  SHA512:
6
- metadata.gz: 69a81ac907b5bd0e994fef22e7a058fcd3134a5c6bfa6e5f1620334a663c94efd9e4f9eabdf6262005ccea75b4c111900486a2fe9a06199fd2eb3696de31ecfe
7
- data.tar.gz: '0019c1d30ae4c84244e6e6e59d4e64713b209dde1314687645f00eb6786ebe1fe3143aaca8b4cbb295e3af8b9a425af6cd4cdf2466c69ecf49c89bc1c8a73d28'
6
+ metadata.gz: c0bc9fbc4b06a93f7b86a2bcc4e7d40d8707885e848f84a51598bf713a0491a26fd91b5b64f376af888c9ccfdd6076063b81783fac61e56a00c024a30ba4a8d2
7
+ data.tar.gz: 7628ef5cac5c96e252f959102764fe4ed2160b8b42a817ab755af764853a97239805f10b7a2cf978d1d14cf2ef400a06bf5db4b0df9f026ad322e6dce8de300c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.1
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 tls-sni-01 or dns-01', default: 'dns-01'
14
- option '--linked-service', "LINKED_SERVICE", 'A service (usually LB) where the tls-sni-01 challenge certificate is bundled to'
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
@@ -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.1
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-01 00:00:00.000000000 Z
11
+ date: 2018-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler