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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcd417568c9916dcf405a9aaef62ce673d676e15
|
4
|
+
data.tar.gz: 7112d29d627df7c184f556775c3a72f4b7c9431e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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/
|
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
|
##
|
data/lib/kontena/plugin/aws.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kontena-cli
|