1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules/templates-cli-labels.adoc

20 lines
466 B
Plaintext

// Module included in the following assemblies:
//
// * openshift_images/using-templates.adoc
[id="templates-cli-labels_{context}"]
= Adding labels
Labels are used to manage and organize generated objects, such as pods. The
labels specified in the template are applied to every object that is generated
from the template.
.Procedure
* Add labels in the template from the command line:
+
[source,terminal]
----
$ oc process -f <filename> -l name=otherLabel
----