Skip to content

feat: restrict the membercluster name length to 63#946

Merged
jamyct merged 41 commits intoAzure:mainfrom
jamyct:restrict-memberclustername-length
Nov 20, 2024
Merged

feat: restrict the membercluster name length to 63#946
jamyct merged 41 commits intoAzure:mainfrom
jamyct:restrict-memberclustername-length

Conversation

@jamyct
Copy link
Contributor

@jamyct jamyct commented Nov 7, 2024

Description of your changes

restrict the membercluster name length to 63 and ensure it follows RFC 1035 Label Names

Fixes #

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Special notes for your reviewer

@jamyct jamyct changed the title restrict the membercluster name length to 63 feat: restrict the membercluster name length to 63 Nov 8, 2024
@jamyct
Copy link
Contributor Author

jamyct commented Nov 15, 2024

Manual test for name length restriction:

image

Manual test for regex (as per RFC 1123 Label Names):

image

@jamyct jamyct added the task label Nov 20, 2024
@jamyct jamyct merged commit 9c4a292 into Azure:main Nov 20, 2024
@jamyct jamyct deleted the restrict-memberclustername-length branch November 20, 2024 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants