Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3481

Fix label subcomp value configuration in Operator

    XMLWordPrintable

Details

    • Bug
    • Status: Verified (View Workflow)
    • Major
    • Resolution: Done
    • 7.10.0.GA
    • 7.10.1.GA
    • Cloud
    • None
    • BA Operator 7.10.0-1

    Description

      Operator is failing to deploy the KieApp when are used images with sha digest. In Operator log is visible following exception:

      "DeploymentConfig.apps.openshift.io \"rhpam-trial-rhpamcentr\" is invalid: spec.template.labels: Invalid value: \"rhpam-businesscentral-rhel8@sha256\": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue',  or 'my_value',  or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?')"
      

      This is caused by configuration of metering lables, where is used as subcomponent name a image name. As in there is used image with digest, the name of the image is wrongly parsed to the label. Configuration of lable is done here: https://github.com/kiegroup/kie-cloud-operator/pull/523/files#diff-29ad51b906bc49dd54db094a3b626e8e4a04628d03562e6c0d45db0e391ac2fbR155


      Rebuild of BA Operator, version 7.10.0-2, with disabled subcomp label was released as RHPAM-3471

      Goal of this jira:
      Fix the label value for subcomp and enable creating of this label in BA Operator

      Attachments

        Issue Links

          Activity

            People

              mdessi-1 Massimiliano Dessi
              jakubschwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: