vagrant-routes 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -2
- data/lib/command.rb +3 -2
- data/vagrant-routes.gemspec +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: b3984bfea6cf8f234255b04f5f0f4c1b80410c16
|
4
|
+
data.tar.gz: 6ff71bd408ae115eb397fe4a7769055f6e70b970
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aab4aa5519b026f3603ad8a9f0b4dea1085f4c9c63d1067d3874f124d5e3b2b7942f98a7cbb9edabacca534cd3159eb25478482ef9c39695208e29018f47b869
|
7
|
+
data.tar.gz: 988e4bfb269436d09af38e35fda7ced8211484a105047222324c9aa58e4d022ebfb139877b16e19f5d9e0747f4bf71168968205ccb7bad0170aae25b03fd96ff
|
data/README.md
CHANGED
@@ -16,10 +16,23 @@ $ vagrant plugin install vagrant-routes
|
|
16
16
|
|
17
17
|
## Usage
|
18
18
|
|
19
|
+
- First start Vagrant VM with OpenShift, log in and select your project within the guest
|
20
|
+
- Then run `vagrant route`
|
21
|
+
|
19
22
|
```
|
20
|
-
# Start Vagrant VM with OpenShift, log in and select your project
|
21
|
-
# Update `hosts` file on the host by running:
|
22
23
|
$ vagrant route
|
23
24
|
Updating hosts file with new hostnames:
|
24
25
|
pyapp-python.router.default.svc.cluster.local
|
25
26
|
```
|
27
|
+
|
28
|
+
Use `--help` to see all options:
|
29
|
+
|
30
|
+
```
|
31
|
+
$ vagrant route --help
|
32
|
+
Usage: vagrant route [options]
|
33
|
+
|
34
|
+
Options:
|
35
|
+
|
36
|
+
--all Expose all routes (you need to be cluster admin)
|
37
|
+
-h, --help Print this help
|
38
|
+
```
|
data/lib/command.rb
CHANGED
@@ -20,8 +20,9 @@ module VagrantPlugins
|
|
20
20
|
o.separator 'Options:'
|
21
21
|
o.separator ''
|
22
22
|
|
23
|
-
o.on('--all', 'Expose all routes
|
24
|
-
|
23
|
+
o.on('--all', 'Expose all routes') do
|
24
|
+
# TODO: make --config option configurable
|
25
|
+
options[:all] = '--all-namespaces --config=/var/lib/origin/openshift.local.config/master/admin.kubeconfig'
|
25
26
|
end
|
26
27
|
end
|
27
28
|
|
data/vagrant-routes.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-routes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josef Strzibny
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|