From a39a10c34553ceba4fec60ae1dba1c39e75fb00d Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Mon, 31 Jul 2023 09:18:23 -0400 Subject: [PATCH] Adds xref for oc new app feature --- modules/applications-create-using-cli-modify.adoc | 2 +- release_notes/ocp-4-14-release-notes.adoc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/applications-create-using-cli-modify.adoc b/modules/applications-create-using-cli-modify.adoc index f5975d0617..00d5995362 100644 --- a/modules/applications-create-using-cli-modify.adoc +++ b/modules/applications-create-using-cli-modify.adoc @@ -214,7 +214,7 @@ $ oc new-app --search php To set the import mode when using `oc new-app`, add the `--import-mode` flag. This flag can be appended with `Legacy` or `PreserveOriginal`, which provides users the option to create image streams using a single sub-manifest, or all manifests, respectively. -[souce,terminal] +[source,terminal] ---- $ oc new-app --image=registry.redhat.io/ubi8/httpd-24:latest --import-mode=Legacy --name=test ---- diff --git a/release_notes/ocp-4-14-release-notes.adoc b/release_notes/ocp-4-14-release-notes.adoc index eb085d0e09..d911c30d94 100644 --- a/release_notes/ocp-4-14-release-notes.adoc +++ b/release_notes/ocp-4-14-release-notes.adoc @@ -106,6 +106,8 @@ A new oc command line interface (CLI) flag, `--import-mode`, has been added to t A new oc command line interface (CLI) flag, `--import-mode`, has been added to the `oc new-app` command. With this enhancement, users can set the `--import-mode` flag to `Legacy` or `PreserverOriginal`, which provides users the option to create new applications using a single sub-manifest, or all manifests, respectively. +For more information, see xref:../applications/creating_applications/creating-applications-using-cli.adoc#setting-the-import-mode[Setting the import mode]. + [id="ocp-4-14-ibm-z"] === {ibmzProductName} and {linuxoneProductName}