krates 1.6.5 → 1.6.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5b62edcce11e6be7320d133553a6edbdb0b32cfd9edb49fef86badfefe29878
4
- data.tar.gz: 5f2e157ba2206ee84332045a4c2d4ca4156164dc064632ddfbdd025f3d002845
3
+ metadata.gz: 9f147a03b4b6bd5ea2956934a29b458501d79116d7dcf90b1abbb4dd980baaef
4
+ data.tar.gz: 543e567670bf975364cb37640501214cba39728c627d3d6976a402f1298932d9
5
5
  SHA512:
6
- metadata.gz: 6c5f0ceb3c32b980eb8a2f8d02a18ddbe2a9cb0af81a02a653edd7c19af9df87a1c8e0240a58c77b205e5678979d0b5cd83bd94ccaa656a71fa983966605528e
7
- data.tar.gz: e79380484b9904f642a3dd8336d453acc324a4a7f69ab80ae67e4d89d5c89cccd739f657fa1023048745f84a087cd0d4dd5ae231169d7df6029c4ee4db3b8a17
6
+ metadata.gz: 3617342d32e1fa26daa1b0f5ab34afa87a9f3de4d25dc6ed59453b8a48c7f43b708ef69fc7ad261960e446069801681e08f8ba5d7c6fd366bd30ba92b6de1eea
7
+ data.tar.gz: f19aa4e339daebecec12b1d9a7263d31d42d5bca1f6cfdf647970e398a69f1c3e9366012d1f6ce2765a07ef6084d9d01107b85f3da32ba822fadd948031bc9ae
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.5
1
+ 1.6.6
@@ -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 http-01, dns-01 or tls-sni-01 (renewals only)', default: 'http-01'
14
- option '--linked-service', "LINKED_SERVICE", 'A service (usually LB) where the http-01/tls-sni-01 challenge is deployed to'
13
+ option '--type', 'AUTHORIZATION_TYPE', 'Authorization type, either http-01 or dns-01', default: 'http-01'
14
+ option '--linked-service', "LINKED_SERVICE", 'A service (usually LB) where the http-01 challenge is deployed to'
15
15
 
16
16
  requires_current_master
17
17
  requires_current_master_token
@@ -23,8 +23,6 @@ module Kontena::Cli::Certificate
23
23
  false
24
24
  when 'http-01'
25
25
  true
26
- when 'tls-sni-01'
27
- true
28
26
  else
29
27
  fail "Invalid authorization --type=#{type}"
30
28
  end
@@ -60,15 +58,6 @@ module Kontena::Cli::Certificate
60
58
  else
61
59
  puts "HTTP challenge is deployed, you can now request the actual certificate"
62
60
  end
63
- when 'tls-sni-01'
64
- domain_auth = spinner "Waiting for tls-sni-01 challenge to be deployed into #{response.dig('linked_service', 'id').colorize(:cyan)} " do
65
- wait_for_domain_auth_deployed(response)
66
- end
67
- if domain_auth['state'] == 'deploy_error'
68
- exit_with_error "Linked services deploy failed. Check service events for details"
69
- else
70
- puts "TLS-SNI challenge certificate is deployed, you can now request the actual certificate"
71
- end
72
61
  else
73
62
  exit_with_error "Unknown authorization type: #{self.type}"
74
63
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: krates
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.5
4
+ version: 1.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Tsurbeleu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-12 00:00:00.000000000 Z
11
+ date: 2020-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler