-
Notifications
You must be signed in to change notification settings - Fork 3.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
Cilium CLI: Trim EKS cluster ARN to extract valid cluster name #36952
Conversation
2351247
to
9bb82f8
Compare
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.
Hi @jaehanbyun and thank your for your pull request !
Can you please add a commit description to your commit message? Please refer to requirement 5 of Submitting a pull request
9bb82f8
to
7851fe0
Compare
/test |
Please feel free to let me know if there are any other tasks I need to perform! |
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, still needs approval of CLI team
- Introduces the `trimEKSClusterARN` function to extract the actual cluster name from the ARN. - Ensures the extracted cluster name does not exceed 32 characters, preventing validation errors during installation. - Updates the Cilium CLI to handle only the trailing part of the EKS cluster name, removing invalid characters such as colons (:). Signed-off-by: jaehanbyun <awbrg789@naver.com>
7851fe0
to
96e13e3
Compare
/test |
/test Image builds failed due to infra issues in previous run, re-triggered. |
/test |
1 similar comment
/test |
Please ensure your pull request adheres to the following guidelines:
description and a
Fixes: #XXX
line if the commit addresses a particularGitHub issue.
Fixes: <commit-id>
tag, thenplease add the commit author[s] as reviewer[s] to this issue.
This pull request resolves the issue of interpreting the EKS Cluster ARN in the comments in issue #34006. It introduces the
trimEKSClusterARN
function to extract the actual cluster name, ensures the cluster name does not exceed 32 characters. This prevents validation errors during installation.Before
After