kontena-plugin-azure 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 +4 -4
- data/lib/kontena/machine/azure/master_provisioner.rb +3 -1
- data/lib/kontena/plugin/azure.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 824ae697831ee1e3580f72fd4a85240dcc3c504f
|
4
|
+
data.tar.gz: 66b41a06d66408f859285ce90bd66dda7046f2e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ae48eec58b2ebfde7a40bae6e11f5aa9356b38236210c9f95a0283086c3915426a1298c33e221ead5cc6d5117a4c5979f3598e1e67d67c879fe385a04472487
|
7
|
+
data.tar.gz: 7c39f35ef94fea56165da4ac255d522faa3e5d5aa473ae41a312bf28bd75415b89eb7e44717d56e61dc24489140fddb2749d7e6c8142c5b9e8d261988221373d
|
@@ -33,6 +33,7 @@ module Kontena
|
|
33
33
|
cloud_service_name = generate_cloud_service_name
|
34
34
|
vm_name = cloud_service_name
|
35
35
|
master_url = ''
|
36
|
+
public_ip = nil
|
36
37
|
spinner "Creating an Azure Virtual Machine #{vm_name.colorize(:cyan)}" do
|
37
38
|
if opts[:virtual_network].nil?
|
38
39
|
location = opts[:location].downcase.gsub(' ', '-')
|
@@ -69,6 +70,7 @@ module Kontena
|
|
69
70
|
|
70
71
|
|
71
72
|
virtual_machine = client.vm_management.create_virtual_machine(params,options)
|
73
|
+
public_ip = virtual_machine.ipaddress
|
72
74
|
|
73
75
|
if opts[:ssl_cert]
|
74
76
|
master_url = "https://#{virtual_machine.ipaddress}"
|
@@ -93,7 +95,7 @@ module Kontena
|
|
93
95
|
|
94
96
|
{
|
95
97
|
name: opts[:name] || cloud_service_name.sub('kontena-master-', ''),
|
96
|
-
public_ip:
|
98
|
+
public_ip: public_ip,
|
97
99
|
provider: 'azure',
|
98
100
|
version: master_version,
|
99
101
|
code: opts[:initial_admin_code]
|
data/lib/kontena/plugin/azure.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kontena-plugin-azure
|
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
|
+
date: 2016-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kontena-cli
|