From 5cddca39dc1fb670f495a80eb68d83f5074eeb72 Mon Sep 17 00:00:00 2001 From: Avital Pinnick Date: Wed, 17 Jun 2020 13:03:03 +0300 Subject: [PATCH] Small fix to 'oc convert' for deprecated GVKs --- modules/migration-updating-deprecated-gvks.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/migration-updating-deprecated-gvks.adoc b/modules/migration-updating-deprecated-gvks.adoc index 03ec922495..1ddf458944 100644 --- a/modules/migration-updating-deprecated-gvks.adoc +++ b/modules/migration-updating-deprecated-gvks.adoc @@ -106,13 +106,13 @@ $ tar -xfv /.tar.gz -C . Run `oc convert` in offline mode on each deprecated GVK: + ---- -$ oc convert /resources/.yaml <1> +$ oc convert /resources/.json <1> ---- <1> Specify the deprecated GVK. . Create the converted GVK on the target cluster: + ---- -$ oc create -f .yaml <1> +$ oc create -f .json <1> ---- <1> Specify the converted GVK.