Labels specified in inventory file become upper case

Solution Verified - Updated -

Issue

  • When we add new node, Node labels became True even though we specified it in inventory as 'true'.

Actual Result:

node-role.kubernetes.io/compute: True

Expected:

node-role.kubernetes.io/compute: true
  • We specified the label and used inventry file with yaml format as:
    nodes:
      hosts:
        ose-master[1:3].example.com:
        ose-node1.example.com:
          openshift_node_labels:
            region: infra
            node-role.kubernetes.io/compute: true
            node-type: logging-es-node1

Environment

  • OpenShift Container
    • 3.9

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