-
Notifications
You must be signed in to change notification settings - Fork 961
Fix the rate-limit issue of kustomize action #6552
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
Conversation
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
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.
Pull Request Overview
This PR addresses a rate-limit issue with the kustomize action in the GitHub workflow by switching to a different action implementation that uses authentication to avoid rate limiting.
- Replaces
syntaqx/setup-kustomize@v1
withkarancode/[email protected]
- Adds GitHub token authentication to prevent API rate limiting
- Updates parameter name from
kustomize-version
tokustomize_version
@@ -44,9 +44,10 @@ jobs: | |||
version: ${{ env.HELM_VERSION }} | |||
|
|||
- name: Set up Kustomize | |||
uses: syntaqx/setup-kustomize@v1 | |||
uses: karancode/kustomize-github-action@v1.3.2 |
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.
I see there are a lot of bugs reported but not handled:
https://github.com/karancode/kustomize-github-action/issues
I'm not sure if the failing test related to any of these~
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.
Just found the kustomize installation script itself supports setting token by env. It should be work fine from now.
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.
Great!
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #6552 +/- ##
==========================================
+ Coverage 45.43% 45.45% +0.02%
==========================================
Files 687 687
Lines 56335 56335
==========================================
+ Hits 25596 25609 +13
+ Misses 29140 29130 -10
+ Partials 1599 1596 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
77ec0b2
to
99e279b
Compare
Signed-off-by: Xinzhao Xu <[email protected]>
99e279b
to
e2330eb
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RainbowMango The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind flake
What this PR does / why we need it:
Fix #6547
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: