Browse code

Fixes oc convert examples

Fabiano Franz authored on 2016/07/07 23:45:26
Showing 4 changed files
... ...
@@ -869,7 +869,7 @@ Convert config files between different API versions
869 869
   oc convert -f pod.yaml --local -o json
870 870
 
871 871
   # Convert all files under current directory to latest version and create them all.
872
-  oc convert -f . | kubectl create -f -
872
+  oc convert -f . | oc create -f -
873 873
 
874 874
 ----
875 875
 ====
... ...
@@ -162,7 +162,7 @@ to change to output destination.
162 162
   oc convert \-f pod.yaml \-\-local \-o json
163 163
 
164 164
   # Convert all files under current directory to latest version and create them all.
165
-  oc convert \-f . | kubectl create \-f \-
165
+  oc convert \-f . | oc create \-f \-
166 166
 
167 167
 
168 168
 .fi
... ...
@@ -162,7 +162,7 @@ to change to output destination.
162 162
   openshift cli convert \-f pod.yaml \-\-local \-o json
163 163
 
164 164
   # Convert all files under current directory to latest version and create them all.
165
-  openshift cli convert \-f . | kubectl create \-f \-
165
+  openshift cli convert \-f . | openshift cli create \-f \-
166 166
 
167 167
 
168 168
 .fi
... ...
@@ -569,7 +569,7 @@ to change to output destination.
569 569
   %[1]s convert -f pod.yaml --local -o json
570 570
 
571 571
   # Convert all files under current directory to latest version and create them all.
572
-  %[1]s convert -f . | kubectl create -f -
572
+  %[1]s convert -f . | %[1]s create -f -
573 573
 `
574 574
 )
575 575