Skip to content

Commit a0933a0

Browse files
committed
Small fix to 'oc convert' for deprecated GVKs
1 parent 4225708 commit a0933a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/migration-updating-deprecated-gvks.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@ $ tar -xfv <backup_local_dir>/<backup_name>.tar.gz -C <backup_local_dir>
106106
. Run `oc convert` in offline mode on each deprecated GVK:
107107
+
108108
----
109-
$ oc convert <backup_local_dir>/resources/<gvk>.yaml <1>
109+
$ oc convert <backup_local_dir>/resources/<gvk>.json <1>
110110
----
111111
<1> Specify the deprecated GVK.
112112

113113
. Create the converted GVK on the target cluster:
114114
+
115115
----
116-
$ oc create -f <gvk>.yaml <1>
116+
$ oc create -f <gvk>.json <1>
117117
----
118118
<1> Specify the converted GVK.

0 commit comments

Comments
 (0)