activek8s 0.2.0 → 0.2.1
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/activek8s/version.rb +1 -1
- data/lib/tasks/port_forward_many.rake +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3bd9861144b112f2b3eb00a2fc5c4e682033671089040b108dd706c965b85b1
|
4
|
+
data.tar.gz: 3c3a5757964a193ee0e37a9e381f98af7ce286ee01569e4a1eb1146f8e0a697f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddfbf11563cd7d2c368f0f6a5e6ad04fa5e99647e9b68552218903d4192445609ae1bdfd874c586094da68ff3456d56642f59ae4dc068a568369bc256d4c28e0
|
7
|
+
data.tar.gz: 3284b5dc22fda2e5486ab2890db298adc0d7cc1fc6584f272487447ffbfb89da56025d0885ebe2a5b635e313a9e734964953ecd9bc5c45f9b3768411e146512b
|
data/Gemfile.lock
CHANGED
data/lib/activek8s/version.rb
CHANGED
@@ -11,11 +11,11 @@ namespace 'k8s' do
|
|
11
11
|
# Build 'dynamic' values
|
12
12
|
services = args.services.split(' ').each_with_index.map do |name, index|
|
13
13
|
port = args.first_port.to_i + index
|
14
|
-
export_env = "#{name.upcase}
|
14
|
+
export_env = "#{name.upcase}_ENDPOINT"
|
15
15
|
{
|
16
16
|
port: port,
|
17
17
|
rake_task: "k8s:port_forward[#{args.namespace},#{name},#{port},3000]",
|
18
|
-
env: "#{export_env}
|
18
|
+
env: "export #{export_env}=\"http://localhost:#{port}/\""
|
19
19
|
}
|
20
20
|
end
|
21
21
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activek8s
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fernando Valverde Arredondo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01
|
11
|
+
date: 2019-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: childprocess
|