mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-07 00:48:01 +01:00
OSDOCS-945: Updating references to oc flags that were removed
This commit is contained in:
@@ -12,7 +12,7 @@ images in the local Docker server.
|
||||
The `new-app` command attempts to determine the type of image specified in the
|
||||
arguments passed to it. However, you can explicitly tell `new-app` whether the
|
||||
image is a container image using the `--docker-image` argument or an imagestream
|
||||
using the `-i|--image` argument.
|
||||
using the `-i|--image-stream` argument.
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
|
||||
@@ -107,5 +107,5 @@ the CLI.
|
||||
----
|
||||
$ oc set deployment-hook dc/frontend \
|
||||
--pre -c helloworld -e CUSTOM_VAR1=custom_value1 \
|
||||
-v data --failure-policy=abort -- /usr/bin/command arg1 arg2
|
||||
--volumes data --failure-policy=abort -- /usr/bin/command arg1 arg2
|
||||
----
|
||||
|
||||
@@ -54,7 +54,7 @@ selector.
|
||||
|
||||
|
||||
Operation::
|
||||
Specify `--add`, `--remove`, or `--list` for `operation` in the `oc set volume` command.
|
||||
Specify `--add` or `--remove` for `operation` in the `oc set volume` command.
|
||||
|
||||
Mandatory parameters::
|
||||
Any `_<mandatory_parameters>_` are specific to the
|
||||
|
||||
@@ -12,7 +12,7 @@ You can list volumes and volume mounts in pods or pod templates:
|
||||
To list volumes:
|
||||
|
||||
----
|
||||
$ oc set volume <object_type>/<name> --list [options]
|
||||
$ oc set volume <object_type>/<name> [options]
|
||||
----
|
||||
|
||||
List volume supported options:
|
||||
@@ -36,7 +36,7 @@ For example:
|
||||
* To list all volumes for pod *p1*:
|
||||
+
|
||||
----
|
||||
$ oc set volume pod/p1 --list
|
||||
$ oc set volume pod/p1
|
||||
----
|
||||
|
||||
* To list volume *v1* defined on all DeploymentConfigs:
|
||||
|
||||
Reference in New Issue
Block a user