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 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.