kontena-plugin-aws 0.2.1 → 0.2.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
  SHA1:
3
- metadata.gz: f8326a28316c787c78ead5342d4eb7d3b57ee79a
4
- data.tar.gz: d7d6677ecc5e914141fb09068b901cb0150237e2
3
+ metadata.gz: dcd417568c9916dcf405a9aaef62ce673d676e15
4
+ data.tar.gz: 7112d29d627df7c184f556775c3a72f4b7c9431e
5
5
  SHA512:
6
- metadata.gz: c0be780af07af81db9aa73eed3c3ee5b6de6182f0a207b83349019d13ccc8947d84123b11dc7a8c63722c000f89626210227d302b3999ef4cc728a87d6dd6c89
7
- data.tar.gz: 68f20cd021443f1c0e12d7f0d67bdf8bc9e83e64b29cbc861bafc7e5509f3e7a29678d9a8ba3258cc78dfa15f2ff8c2b017e2ccea37ca7090e32ce2d0ea91103
6
+ metadata.gz: f077f1aa927e28680389c2e3414cf5a60d27cf330792fecb3898a19bd31aa1ef0f979e2d3eefc6c590696ea69e38a29809d66c2ba24c40c2bdaf622133f4e577
7
+ data.tar.gz: f086acf3f9e22dadae106556de6aba8ab36266e363ca0101b698ce4c93b088850694681187e074914a00fafa4475a15e0b6b8f56a7b67a9936dd770cdcb86e41
@@ -12,7 +12,7 @@ write_files:
12
12
  - path: /etc/systemd/system/docker.service.d/50-kontena.conf
13
13
  content: |
14
14
  [Service]
15
- Environment='DOCKER_OPTS=--insecure-registry="10.81.0.0/19" --bip="172.17.43.1/16"'
15
+ Environment='DOCKER_OPTS=--insecure-registry="10.81.0.0/16" --bip="172.17.43.1/16"'
16
16
  Environment='DOCKER_CGROUPS=--exec-opt native.cgroupdriver=cgroupfs'
17
17
  - path: /etc/sysctl.d/99-inotify.conf
18
18
  owner: root
@@ -112,13 +112,18 @@ module Kontena::Machine::Aws
112
112
 
113
113
  spinner "Kontena Master #{master_version} is now running at #{master_url}"
114
114
  end
115
- {
115
+ data = {
116
116
  name: name.sub('kontena-master-', ''),
117
117
  public_ip: public_ip,
118
118
  code: opts[:initial_admin_code],
119
119
  provider: 'aws',
120
120
  version: master_version
121
121
  }
122
+ if self.respond_to?(:certificate_public_key)
123
+ data[:ssl_certificate] = certificate_public_key(ssl_cert) unless opts[:ssl_cert]
124
+ end
125
+
126
+ data
122
127
  end
123
128
 
124
129
  ##
@@ -1,7 +1,7 @@
1
1
  module Kontena
2
2
  module Plugin
3
3
  module Aws
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kontena-plugin-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.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: 2016-11-10 00:00:00.000000000 Z
11
+ date: 2016-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kontena-cli