This is a clone of issue OCPBUGS-50950. The following is the description of the original issue:
—
User Story:
As a ROSA HCP user in FedRAMP, I would like to be able to deploy a hosted control plane and dataplane in a customer/personal AWS account, and make use of the image registry cluster operator.
In AWS govcloud, hosted clusters currently can be created but will fail to deploy the Image Registy CO. This is due to an edge case in the naming schema for S3 buckets created in customer accounts to back the image registry-- when using GovCloud region names, full bucket name is 61 characters, which is padded to reach a desired length of 62 characters. This padding is appended after a dash, but sense only one character of padding is needed, only a dash is appended, and the name ends in a dash
Below is an example of the invalid S3 bucket name generated for a cluster in region us-gov-west-1:
2gt95p48ekt031m3qvnpec63eva7hm7f-image-registry-us-gov-west-1-
Acceptance Criteria:
Description of criteria:
- The Cluster Image Registry Operator adopts a suitable scheme for truncating S3 bucket names, that ensures that the name is always valid by S3 bucket naming criteria
Engineering Details:
- CIRO will be updated with an adapted S3 bucket name generation function
This requires/does not require a design proposal.
This requires/does not require a feature gate.
- links to
-
RHBA-2025:1907 OpenShift Container Platform 4.16.z bug fix update