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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.