Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-7569

Allow ROSA CLI to validate tags that include space in the key/value

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • all
    • ROSA
    • None
    • None
    • Product / Portfolio Work
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      1. Proposed title of this feature request

      • Allow ROSA CLI to validate tags that include space in the key/value

      2. What is the nature and description of the request?

      • Currently the UserTagValidator function only allows tags that are in following format: "Key Value" not allowing customers to use keys and/or values that include spaces
      • Neither of the variations below work:
      $ rosa create cluster --cluster-name cluster-test --sts --tags "'app':'core platform'" 
      $ rosa create cluster --cluster-name cluster-test --sts --tags "'app'='core platform'"
      $ rosa create cluster --cluster-name cluster-test --sts --tags "'app' 'core platform'"

      The all throw an error similar to this:

      E: invalid tag format for tag '['app' 'core platform']'. Expected tag format: 'key value' 
      • Spaces in tags are supported according to AWS tag convention (AWS doc link)

      3. Why does the customer need this? (List the business requirements here)

      • Customers may have automation in place for existing tags that include spaces and want those tags applied to rosa resources

       

              rh-ee-bchandra Balachandran Chandrasekaran
              rhn-support-gilins Givaldo Lins
              None
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                None
                None