kuber_kit 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/kuber_kit/container.rb +4 -0
- data/lib/kuber_kit/service_deployer/deployer.rb +3 -1
- data/lib/kuber_kit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a60a34aefa8bd114c7bcb0f877495619c6bc5d4060f3178d6810b767264e5d7
|
4
|
+
data.tar.gz: 8b6771ac06f2c9fb3c86c810657d3f0d0368fbb4f11d37f410b87a3e7586b0c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f342d97d51f6b6ad375e8d3a112cd13b186b9ea16ff34a517e62a62c50fb307b74aaeabbfc42de001a3c9a8960c09a0c3c9e5e3bab33f47cefeb260bee8dc992
|
7
|
+
data.tar.gz: cb67b78fd74831a2bc3b39c9ac035ff06f848c1b63dde2c5725ff2d73fc08247ef9f666f88c88ea3e4ffdfda963cbdcbc96756e591205a80bcc983eaab0742b7
|
data/Gemfile.lock
CHANGED
data/lib/kuber_kit/container.rb
CHANGED
@@ -225,6 +225,10 @@ class KuberKit::Container
|
|
225
225
|
KuberKit::ServiceDeployer::Strategies::Kubernetes.new
|
226
226
|
end
|
227
227
|
|
228
|
+
register "service_deployer.strategies.kubernetes_runner" do
|
229
|
+
KuberKit::ServiceDeployer::Strategies::KubernetesRunner.new
|
230
|
+
end
|
231
|
+
|
228
232
|
register "service_reader.action_handler" do
|
229
233
|
KuberKit::ServiceReader::ActionHandler.new
|
230
234
|
end
|
@@ -3,7 +3,8 @@ class KuberKit::ServiceDeployer::Deployer
|
|
3
3
|
|
4
4
|
include KuberKit::Import[
|
5
5
|
"core.service_store",
|
6
|
-
"service_deployer.strategies.kubernetes"
|
6
|
+
"service_deployer.strategies.kubernetes",
|
7
|
+
"service_deployer.strategies.kubernetes_runner"
|
7
8
|
]
|
8
9
|
|
9
10
|
def register_strategy(strategy_name, strategy)
|
@@ -29,6 +30,7 @@ class KuberKit::ServiceDeployer::Deployer
|
|
29
30
|
|
30
31
|
def add_default_strategies
|
31
32
|
register_strategy(:kubernetes, kubernetes)
|
33
|
+
register_strategy(:kubernetes_runner, kubernetes_runner)
|
32
34
|
end
|
33
35
|
|
34
36
|
def reset!
|
data/lib/kuber_kit/version.rb
CHANGED