-
Notifications
You must be signed in to change notification settings - Fork 700
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
[kubeapps-apis] Implement "direct-Helm" plugin based on the existing features in kubeapps #2993
Comments
Originally posted at #3022 (comment) Additional fields for GetAvailablePackageSummariesCurrently, the client requires the following params for displaying the catalog: A response of this APIs is something like: {
"availablePackagesSummaries": [
{
"availablePackageRef": {
"context": {
"namespace": "kubeapps" namespace
},
"identifier": "marketplace/airflow" id
},
"latestVersion": "10.2.1", version
"iconUrl": "https://bitnami.com/assets/stacks/airflow/img/airflow-stack-220x234.png", icon
"displayName": "airflow", name
"shortDescription": "Apache Airflow is a platform to programmatically author, schedule and monitor workflows." description
}
]
}; So the only missing field is PaginationWell, this is interesting. Currently, the API is returning something like: {"data":[ charts ],"meta":{"totalPages": pages }} Perhaps, we could modify the messages to use this
|
It could, but it wouldn't be ideal to request it for each item in a large page of results? I'd assume we'll eventually want this as an optional field on the summary (and detail), but note that it's only available for direct-helm because we cache this data while syncing repositories. kapp_controller, for example, will have no link from the package (or packagemetadata) back to the repository, afaict, which is OK. Right now I wonder if it's best to leave this until we define the package repository messages (including a package repository reference), so the UX when using the new API just won't include the repo until later.
We already have something like this, in that the actual return data is in a field
Yep, I see no reason why we wouldn't want to just follow the recommended design patterns where applicable. The fact that the EDIT: I've updated the GetAvailablePackageSummaries and GetInstallPackageSummaries request and responses to include this. See what you think. |
Awesome, I also think we should follow the recommended pattern here. Thanks for the changes you made in the design doc! I'm now addressing the UI changes. Since it is a complex endeavor, let's break this task down into three different milestones:
Raw issues while performing UI changesPlaceholder section for tracking (raw) the issues I'm finding; later on, I'll create a proper summary
Current statusThoughts for the Helm-less version |
Accidentally closed with a Fixed tag in description. |
In the same way that we already have
kapp-controller
andfluxv2
plugins (more or less) implemented, it is required to also support the legacy/direct/current Helm approach that kubeapps is using.Otherwise, existing OCI support would get compromised (AFAIK) unless another plugin does support it.
Edit: FWIW, it will leverage the existing AppRepositories/postgresql logic
Related to #2023
Status
Transversal aspects
Operations already "agreed"
Operations in active discussion (not part of this task)
UI
Tracked at #3085
The text was updated successfully, but these errors were encountered: