Fix older versions in dashboard - #102
Merged
Merged
Conversation
Workaround for vmware-tanzu/kubeapps#7740 Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
Marian Koreniuk (themoriarti)
left a comment
Collaborator
There was a problem hiding this comment.
It looks like some kind of hard code, can we put the url generation into some variable?
Member
Author
|
Unfortunately no, because we generate static files which then go into image with cozystack. |
Marian Koreniuk (themoriarti)
approved these changes
Apr 26, 2024
Marian Koreniuk (themoriarti)
left a comment
Collaborator
There was a problem hiding this comment.
OK, so far we accept it.
Andrei Kvapil (kvaps)
added a commit
that referenced
this pull request
Jun 10, 2025
This PR includes fixes and updates for cozystack dashboard: ### [fix client rate limiter](cozystack/kubeapps@b1467ce) fixes the error `client rate limiter Wait returned an error: context canceled` The QPS and Burst options were set after the kubernetes client initalized and had no effect The limits are also increased fivefold: ```diff - - --kube-api-qps=50.0 - - --kube-api-burst=100 + - --kube-api-qps=250.0 + - --kube-api-burst=500 ``` ### [fix relative urls](cozystack/kubeapps@e2153e2) Fixes regression introduced in #935 which suddenly removed previus workaround #102 Now the proper fix prepared. Related to upstream issue vmware-tanzu/kubeapps#7740 ### [remove version selector](cozystack/kubeapps@f412a6a) from both package insallation page and upgrading page <img width="505" alt="Screenshot 2025-06-10 at 1 47 10" src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fcozystack%2Fcozystack%2Fpull%2F%3Ca+href%3D"https://github.com/user-attachments/assets/36068264-2878-4b82-a159-6c911f1c1eef">https://github.com/user-attachments/assets/36068264-2878-4b82-a159-6c911f1c1eef" /> now it always will default to the latest package version ### [always fetch details from the latest version](cozystack/kubeapps@741a7dd) If old package version installed it will display information from the latest package in repository. This and previus fix actually remove the need for having versions_map logic and pack multiple charts for the release. But informs user about newer versions and allows to perform upgrade on demand in specific time: <img width="423" alt="Screenshot 2025-06-10 at 1 52 53" src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fcozystack%2Fcozystack%2Fpull%2F%3Ca+href%3D"https://github.com/user-attachments/assets/dd571c9f-c2bc-403f-9aa0-3d8853600241">https://github.com/user-attachments/assets/dd571c9f-c2bc-403f-9aa0-3d8853600241" /> ### [Remove plugin name from header]cozystack/kubeapps@ffc0b02 We always use flux though <img width="386" alt="Screenshot 2025-06-10 at 1 55 39" src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fcozystack%2Fcozystack%2Fpull%2F%3Ca+href%3D"https://github.com/user-attachments/assets/df6f52b5-82ab-4e7a-a973-2a82eb38ebfb">https://github.com/user-attachments/assets/df6f52b5-82ab-4e7a-a973-2a82eb38ebfb" /> ### [Fix switching context from app view](cozystack/kubeapps@d89e721) Fixes the error message while swtiching tenant from the application view ``` An error occurred while fetching the application: Unable to get installed package. ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added new configuration options for API request rate limits in the dashboard settings. - **Style** - Updated dashboard appearance to hide version information and specific label elements. - **Chores** - Updated internal references to the latest version of the dashboard source code. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Andrei Kvapil (kvaps)
added a commit
that referenced
this pull request
Jun 16, 2025
This PR includes fixes and updates for cozystack dashboard: ### [fix client rate limiter](cozystack/kubeapps@b1467ce) fixes the error `client rate limiter Wait returned an error: context canceled` The QPS and Burst options were set after the kubernetes client initalized and had no effect The limits are also increased fivefold: ```diff - - --kube-api-qps=50.0 - - --kube-api-burst=100 + - --kube-api-qps=250.0 + - --kube-api-burst=500 ``` ### [fix relative urls](cozystack/kubeapps@e2153e2) Fixes regression introduced in #935 which suddenly removed previus workaround #102 Now the proper fix prepared. Related to upstream issue vmware-tanzu/kubeapps#7740 ### [remove version selector](cozystack/kubeapps@f412a6a) from both package insallation page and upgrading page <img width="505" alt="Screenshot 2025-06-10 at 1 47 10" src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fcozystack%2Fcozystack%2Fpull%2F%3Ca+href%3D"https://github.com/user-attachments/assets/36068264-2878-4b82-a159-6c911f1c1eef">https://github.com/user-attachments/assets/36068264-2878-4b82-a159-6c911f1c1eef" /> now it always will default to the latest package version ### [always fetch details from the latest version](cozystack/kubeapps@741a7dd) If old package version installed it will display information from the latest package in repository. This and previus fix actually remove the need for having versions_map logic and pack multiple charts for the release. But informs user about newer versions and allows to perform upgrade on demand in specific time: <img width="423" alt="Screenshot 2025-06-10 at 1 52 53" src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fcozystack%2Fcozystack%2Fpull%2F%3Ca+href%3D"https://github.com/user-attachments/assets/dd571c9f-c2bc-403f-9aa0-3d8853600241">https://github.com/user-attachments/assets/dd571c9f-c2bc-403f-9aa0-3d8853600241" /> ### [Remove plugin name from header]cozystack/kubeapps@ffc0b02 We always use flux though <img width="386" alt="Screenshot 2025-06-10 at 1 55 39" src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fcozystack%2Fcozystack%2Fpull%2F%3Ca+href%3D"https://github.com/user-attachments/assets/df6f52b5-82ab-4e7a-a973-2a82eb38ebfb">https://github.com/user-attachments/assets/df6f52b5-82ab-4e7a-a973-2a82eb38ebfb" /> ### [Fix switching context from app view](cozystack/kubeapps@d89e721) Fixes the error message while swtiching tenant from the application view ``` An error occurred while fetching the application: Unable to get installed package. ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added new configuration options for API request rate limits in the dashboard settings. - **Style** - Updated dashboard appearance to hide version information and specific label elements. - **Chores** - Updated internal references to the latest version of the dashboard source code. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Workaround for vmware-tanzu/kubeapps#7740
Signed-off-by: Andrei Kvapil kvapss@gmail.com