Skip to content
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

Trim repo/org/enterprise to 63 characters in label values #2657

Merged
merged 2 commits into from
Jun 9, 2023

Conversation

nikola-jokic
Copy link
Member

No description provided.

@nikola-jokic nikola-jokic requested review from mumoshu, toast-gear and a team as code owners June 9, 2023 08:58

const trimLabelVauleSuffix = "-trim"

func trimLabelValue(val string) string {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have anything else need to trim? both in code and helm chart, might worth to double check all labels on an installed ARC.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll test it 😄

@nikola-jokic nikola-jokic merged commit 9493481 into master Jun 9, 2023
15 checks passed
@nikola-jokic nikola-jokic deleted the nikola-jokic/repo-name-limit branch June 9, 2023 18:57
@Link- Link- added the gha-runner-scale-set Related to the gha-runner-scale-set mode label Jul 28, 2023
@Link- Link- added this to the gha-runner-scale-set-0.5.0 milestone Jul 28, 2023
@Link- Link- mentioned this pull request Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gha-runner-scale-set Related to the gha-runner-scale-set mode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants