summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2015-06-22 12:11:35 -0400
committerScott Dodson <sdodson@redhat.com>2015-06-22 12:11:35 -0400
commitc6c6a0d2b609bbe55259fbc6a6c451be63e52b4c (patch)
tree3d45cb48c4408e481acd5bb0ca0e3a9fc34974ce
parenta7ac3f7b513fe57ddccad15bdb6c7e9091f16bcd (diff)
downloadopenshift-c6c6a0d2b609bbe55259fbc6a6c451be63e52b4c.tar.gz
openshift-c6c6a0d2b609bbe55259fbc6a6c451be63e52b4c.tar.bz2
openshift-c6c6a0d2b609bbe55259fbc6a6c451be63e52b4c.tar.xz
openshift-c6c6a0d2b609bbe55259fbc6a6c451be63e52b4c.zip
Switch openshift ex router/registry to oadm
-rw-r--r--README_OSE.md4
-rw-r--r--README_origin.md4
-rwxr-xr-xroles/openshift_facts/library/openshift_facts.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/README_OSE.md b/README_OSE.md
index 5a691053c..471fdcf9e 100644
--- a/README_OSE.md
+++ b/README_OSE.md
@@ -119,7 +119,7 @@ inventory file use the -i option for ansible-playbook.
#### Create the default router
On the master host:
```sh
-openshift ex router --create=true \
+oadm router --create=true \
--credentials=/etc/openshift/master/openshift-router.kubeconfig \
--images='docker-buildvm-rhose.usersys.redhat.com:5000/openshift3/ose-${component}:${version}'
```
@@ -127,7 +127,7 @@ openshift ex router --create=true \
#### Create the default docker-registry
On the master host:
```sh
-openshift ex registry --create=true \
+oadm registry --create=true \
--credentials=/etc/openshift/master/openshift-registry.kubeconfig \
--images='docker-buildvm-rhose.usersys.redhat.com:5000/openshift3/ose-${component}:${version}' \
--mount-host=/var/lib/openshift/docker-registry
diff --git a/README_origin.md b/README_origin.md
index 32287d65c..2ccedf4d5 100644
--- a/README_origin.md
+++ b/README_origin.md
@@ -91,14 +91,14 @@ inventory file use the -i option for ansible-playbook.
#### Create the default router
On the master host:
```sh
-openshift ex router --create=true \
+oadm router --create=true \
--credentials=/etc/openshift/master/openshift-router.kubeconfig
```
#### Create the default docker-registry
On the master host:
```sh
-openshift ex registry --create=true \
+oadm registry --create=true \
--credentials=/etc/openshift/master/openshift-registry.kubeconfig \
--mount-host=/var/lib/openshift/docker-registry
```
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py
index 1b789ca89..ca5ea1da0 100755
--- a/roles/openshift_facts/library/openshift_facts.py
+++ b/roles/openshift_facts/library/openshift_facts.py
@@ -487,7 +487,7 @@ def get_current_config(facts):
current_config['kubeconfig'] = config
# override pylint broad-except warning, since we do not want
- # to bubble up any exceptions if openshift ex config view
+ # to bubble up any exceptions if oc config view
# fails
# pylint: disable=broad-except
except Exception: