1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00

Small fix to 'oc convert' for deprecated GVKs

This commit is contained in:
Avital Pinnick
2020-06-17 13:03:03 +03:00
committed by openshift-cherrypick-robot
parent 0860aead22
commit 5cddca39dc

View File

@@ -106,13 +106,13 @@ $ tar -xfv <backup_local_dir>/<backup_name>.tar.gz -C <backup_local_dir>
. Run `oc convert` in offline mode on each deprecated GVK:
+
----
$ oc convert <backup_local_dir>/resources/<gvk>.yaml <1>
$ oc convert <backup_local_dir>/resources/<gvk>.json <1>
----
<1> Specify the deprecated GVK.
. Create the converted GVK on the target cluster:
+
----
$ oc create -f <gvk>.yaml <1>
$ oc create -f <gvk>.json <1>
----
<1> Specify the converted GVK.