hako 0.21.0 → 0.21.1
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 +4 -4
- data/examples/hello-privileged-app.yml +11 -0
- data/lib/hako/container.rb +2 -0
- data/lib/hako/schedulers/ecs.rb +1 -0
- data/lib/hako/schedulers/ecs_definition_comparator.rb +1 -0
- data/lib/hako/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bb0e925130947e9060b87f35a2b8f05c5e7ba5e
|
4
|
+
data.tar.gz: 651f08761326f2d6e256adf5a5acdf36536d0a82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1f0410687bb493c1138be744019ac91b41636d35e451e11f21ad69b3ba142f123cddaadd2c9db722b9b6deceeba9773b21dbd4116dc5a829ef9f30ae1a6292d
|
7
|
+
data.tar.gz: ed716994d7a904addc260be274d883d5c9df09313f0c664975c2c7337f650509e6e2dfaf903446a0606b6d9a8fe8e77f8037386480a0f0b41652a930797525ef
|
data/lib/hako/container.rb
CHANGED
@@ -27,6 +27,7 @@ module Hako
|
|
27
27
|
port_mappings
|
28
28
|
command
|
29
29
|
user
|
30
|
+
privileged
|
30
31
|
].each do |name|
|
31
32
|
define_method(name) do
|
32
33
|
@definition[name]
|
@@ -109,6 +110,7 @@ module Hako
|
|
109
110
|
'mount_points' => [],
|
110
111
|
'port_mappings' => [],
|
111
112
|
'volumes_from' => [],
|
113
|
+
'privileged' => false,
|
112
114
|
}
|
113
115
|
end
|
114
116
|
|
data/lib/hako/schedulers/ecs.rb
CHANGED
@@ -456,6 +456,7 @@ module Hako
|
|
456
456
|
docker_labels: container.docker_labels,
|
457
457
|
mount_points: container.mount_points,
|
458
458
|
command: container.command,
|
459
|
+
privileged: container.privileged,
|
459
460
|
volumes_from: container.volumes_from,
|
460
461
|
user: container.user,
|
461
462
|
log_configuration: container.log_configuration,
|
@@ -32,6 +32,7 @@ module Hako
|
|
32
32
|
struct.member(:command, Schema::Nullable.new(Schema::OrderedArray.new(Schema::String.new)))
|
33
33
|
struct.member(:volumes_from, Schema::UnorderedArray.new(volumes_from_schema))
|
34
34
|
struct.member(:user, Schema::Nullable.new(Schema::String.new))
|
35
|
+
struct.member(:privileged, Schema::Boolean.new)
|
35
36
|
struct.member(:log_configuration, Schema::Nullable.new(log_configuration_schema))
|
36
37
|
end
|
37
38
|
end
|
data/lib/hako/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hako
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.21.
|
4
|
+
version: 0.21.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kohei Suzuki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -119,6 +119,7 @@ files:
|
|
119
119
|
- examples/hello-awslogs-driver.yml
|
120
120
|
- examples/hello-lb-v2.yml
|
121
121
|
- examples/hello-lb.yml
|
122
|
+
- examples/hello-privileged-app.yml
|
122
123
|
- examples/hello.env
|
123
124
|
- examples/hello.yml
|
124
125
|
- exe/hako
|