How to set a label for Template (Template file) ?

Solution In Progress - Updated -

Issue

  • How to set up the label in the Template when it create using yaml file ?
  • You want to add a label dynamically using oc CLI to all objects created by Template file.

Environment

  • OpenShift Container Platform
    • 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content