-
Bug
-
Resolution: Done
-
Major
-
7.10.0.GA
-
None
-
BA Operator 7.10.0-1
-
False
-
False
-
GA
-
-
-
-
-
-
CR1
-
Undefined
-
-
---
-
---
-
-
2021 Week 07-09 (from Feb 15)
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
- relates to
-
RHPAM-3471 Label for subcomp is wrongly set in Operator for images with digest
- Closed