Oc new-app: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:
==-l, --labels==
==-l, --labels==


Label to set in all resources for this application.
To set a single label on all objects of the new application:


  oc new-app -l 'app=myapp' -l 'something=somethingelse' ...
  oc new-app -l 'key1=value1' ...
 
To set multiple labels:

Revision as of 00:34, 26 November 2017

Internal

Overview

new-app is a command that generates a JSON/YAML configuration. For more details see:

Application Operations

Options

-l, --labels

To set a single label on all objects of the new application:

oc new-app -l 'key1=value1' ...

To set multiple labels: