-
Notifications
You must be signed in to change notification settings - Fork 1k
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 gha-runner-scale-set to gha-rs in names and remove role type suffixes #2706
Conversation
Todo (before merge)
Table to fill
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @nikola-jokic - technically this looks good, we need to make sure to address the list of TODOs I posted above before merging this
c87062e
to
e20009f
Compare
I think you failed to take into account how helm does naming in the default templates... |
Fixes #2697
This PR tries to mitigate the problem when service account names are used as labels. The suffix being added by supported charts can be too long (the
-gha-runner-scale-set
suffix takes 21 characters).Summary:
gha-runner-scale-set
are replaced withgha-rs
-role
)Change
By trimming down the suffix, we can allow longer names for clusters with such limitations.
gha-runner-scale-set-controller
gha-runner-scale-set
Note
This can potentially break the external tooling targeting resources by names and labels.