Skip to content

🐛 Fix MaxLength of worker topology Name fields #12072

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dlipovetsky
Copy link
Contributor

@dlipovetsky dlipovetsky commented Apr 8, 2025

What this PR does / why we need it:
Due to existing webhook validation, the effective max length was, and continues to be 63 characters. This updates the annotation (and CRD) to reflect this.

This PR came from a conversation in another PR: #12069 (comment)

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

/area clusterclass
/area api

Due to existing webhook validation, the max length was effectively 63
characters. This updates the annotation (and CRD) to reflect this actual
max length.
@k8s-ci-robot k8s-ci-robot added do-not-merge/needs-area PR is missing an area label cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. area/clusterclass Issues or PRs related to clusterclass area/api Issues or PRs related to the APIs and removed do-not-merge/needs-area PR is missing an area label labels Apr 8, 2025
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Apr 8, 2025
Adjust to 63 because maxLength is inclusive
@sbueringer
Copy link
Member

/lgtm
/approve

Please backport the v1beta1 change into release-1.10

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 9, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 51efa780194f53e1dffd9f1646be4f1eeb365858

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 9, 2025
@sbueringer sbueringer added tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. and removed approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Apr 9, 2025
@sbueringer
Copy link
Member

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sbueringer

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

The pull request process is described here

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 9, 2025
@k8s-ci-robot k8s-ci-robot merged commit 635c18e into kubernetes-sigs:main Apr 9, 2025
20 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.11 milestone Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/api Issues or PRs related to the APIs area/clusterclass Issues or PRs related to clusterclass cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants