Skip to content
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

Add status helm repos API #5006

Merged
merged 4 commits into from
Jul 6, 2022
Merged

Conversation

antgamdia
Copy link
Contributor

@antgamdia antgamdia commented Jul 1, 2022

Description of the change

I've noticed the Helm plugin is not setting the status.ready field. As it defaults to false, the UI shows misleading information to the users. This PR sets it to true, but ideally, we would want actually to query the status of the repo sync.

Benefits

No more misleading "not ready" info to the users.

Possible drawbacks

A failed sync job will still be marked as "ready" when it is not. However, this is the initial behavior and there is another (old) issue tracking it: #153.

Applicable issues

Additional information

This is just a workaround, but we should be able to query, somehow, the status of an AppRepository job's execution.

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
@netlify
Copy link

netlify bot commented Jul 1, 2022

Deploy Preview for kubeapps-dev canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 5cf67e9
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/62c312837a1aac00098a302e

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
@antgamdia antgamdia marked this pull request as ready for review July 4, 2022 16:20
Copy link
Collaborator

@castelblanque castelblanque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
Agree, we should check if we can have a proper status up-to-date.

@antgamdia antgamdia merged commit feb185f into vmware-tanzu:main Jul 6, 2022
@antgamdia antgamdia deleted the addStatusHelmRepos branch July 6, 2022 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants