Skip to content

[release-2.14] [ACM-25688] Add bucket name length validation to prevent S3/GCS deployment failures#2254

Open
openshift-cherrypick-robot wants to merge 2 commits intostolostron:release-2.14from
openshift-cherrypick-robot:cherry-pick-2238-to-release-2.14
Open

[release-2.14] [ACM-25688] Add bucket name length validation to prevent S3/GCS deployment failures#2254
openshift-cherrypick-robot wants to merge 2 commits intostolostron:release-2.14from
openshift-cherrypick-robot:cherry-pick-2238-to-release-2.14

Conversation

@openshift-cherrypick-robot
Copy link
Copy Markdown
Collaborator

This is an automated cherry-pick of #2238

/assign coleenquadros

midu16 and others added 2 commits November 21, 2025 14:53
- Validate S3/GCS bucket names (3-63 chars) in s3_conf.go and gcs_conf.go
- Add webhook admission validation to reject invalid CRs early
- Add comprehensive unit tests for bucket name validation
- Provide clear error messages when bucket names exceed limits

Fixes late-stage thanos-store pod crashes due to long auto-generated
bucket names from ObjectBucketClaim on clusters with long domain names.

Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Nov 21, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: openshift-cherrypick-robot
Once this PR has been reviewed and has the lgtm label, please assign saswatamcode for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Nov 21, 2025

@openshift-cherrypick-robot: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/test-e2e 864b127 link true /test test-e2e

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants