vagrant-routes 0.0.5 → 0.0.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 668e55f34bb0b358ede506fcd4e334f540f84867
4
- data.tar.gz: c5188e6ee78caa70495e8878f3ceb31237858eae
3
+ metadata.gz: b3984bfea6cf8f234255b04f5f0f4c1b80410c16
4
+ data.tar.gz: 6ff71bd408ae115eb397fe4a7769055f6e70b970
5
5
  SHA512:
6
- metadata.gz: 1b286cad39e271e03e858b8d21e356d94b8f842e9817e32206e90255de2204e0b4c7ddd3ca6df09f7e232ac7f5f40abd7a6281dbe2aedffca0694c2ab39a3ed8
7
- data.tar.gz: 9eaf4085453e970265b9b67df66908dca0e7b55d12197b92e7746afa3fa97683248778b5a5923bea28c6d9a090e5879d6f62c10eb8be0d482f55676d9d455cd9
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
+ ```
@@ -20,8 +20,9 @@ module VagrantPlugins
20
20
  o.separator 'Options:'
21
21
  o.separator ''
22
22
 
23
- o.on('--all', 'Expose all routes (you need to be cluster admin)') do
24
- options[:all] = '--all-namespaces'
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
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'vagrant-routes'
3
- spec.version = '0.0.5'
3
+ spec.version = '0.0.6'
4
4
  spec.homepage = 'https://github.com/strzibny/vagrant-routes'
5
5
  spec.summary = 'Access OpenShift routes on the host'
6
6
 
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.5
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-20 00:00:00.000000000 Z
11
+ date: 2015-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler