mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
Adds xref for oc new app feature
This commit is contained in:
@@ -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
|
||||
----
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user