-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
quay-v3.10.0, quay-v3.9.5, quay-v3.8.14
-
False
-
None
-
False
-
-
Description of problem:
CSO failed to create imagemanifestvulns when pod name length is more than 63 characters
Version-Release number of selected component (if applicable):
quay-container-security-operator-bundle-container-v3.10.0-18
How reproducible:
Always
Steps to Reproduce:
- Install CSO on OCP
- Create a pod name length is more than 63 characters
- Check CSO pod logs
Actual Results:
error in CSO pod logs:
level=error msg="error scanning" err="error creating image manifest vuln: ImageManifestVuln.secscan.quay.redhat.com \"sha256.230409c22fdd48300d3dfa7069bfcdbfeedba031f943d5417f48847b25807968\" is invalid: metadata.labels: Invalid value: \"openshift-kube-scheduler/openshift-kube-scheduler-quaytest-1770-pps6d-master-0.c.openshift-qe.internal\": name part must be no more than 63 characters"
Expected Results:
Should create imagemanifestvulns without error