Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

Add status helm repos API#5006

Merged
antgamdia merged 4 commits into
vmware-tanzu:mainfrom
antgamdia:addStatusHelmRepos
Jul 6, 2022
Merged

Add status helm repos API#5006
antgamdia merged 4 commits into
vmware-tanzu:mainfrom
antgamdia:addStatusHelmRepos

Conversation

@antgamdia
Copy link
Copy Markdown
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
Copy Markdown

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

antgamdia added 3 commits July 4, 2022 14:07
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
Copy Markdown
Contributor

@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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants