-
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
chore: remove 16 characters from -service-account #2567
Conversation
The service account must be less than 63 characters. Currently, a normal install will result in ${INSTALLATION_NAME}-gha-runner-scale-set-kube-mode-service-account and 47 characters are reserved. This is too long, so we will remove 16 characters from -service-account Signed-off-by: kahirokunn <okinakahiro@gmail.com>
5115198
to
6512bb5
Compare
@Link- How about this? |
I'm also quite interested in seeing this being reviewed/implemented. The current limitation forces my ARC runner deployments to have super short names since otherwise the SA name will become too long. Alternatively, allowing us to set a |
@Link- this is a good suggestion (in my opinion) that we might want to apply to all resources. |
@nikola-jokic alright, let's take this on. It's on our board. |
I need this 👍 |
Hey @kahirokunn, The change seems good to me, but can you help me understand where is this causing you problems? I'm trying to reproduce an issue where the name of the service account is going to cause problems, so I registered the scale set with the name length of 45 characters. The no-permission service account did not cause any troubles there since we used its name as an annotation in cleanup (not having the 63 character limit), and the name of the resource has the 253 characters in the form of the DNS name |
@nikola-jokic |
Oh, I see, thanks! Then we might want to consider different naming conventions that will allow shorter names (@Link-) |
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.
LGTM
The service account must be less than 63 characters. Currently, a normal install will result in ${INSTALLATION_NAME}-gha-runner-scale-set-kube-mode-service-account and 47 characters are reserved.
This is too long, so we will remove 16 characters from -service-account