See also https://github.com/kubeapps/dashboard/issues/7
Since AppRepository syncing is done asynchronously, we can't really report back a status immediately after adding a repo. But the App Repositories configuration page should report the status:
This will require a read-only list/get/logs for pods in the kubeapps namespace.
It would be nice to complement this with the number of charts retrieved from that source.
Related, it'd be great to validate the user input when adding a repository (ie. verifying the repo can be contacted with the entered details).
That may be difficult to check. The registry may be accessible only within the cluster (so it's not possible to reach it from the local dashboard). Unless we run the chart-repo job with a dry-run option or something.
Yeah, though it's another thing which would be trivial if the app repository was being added via a backend, rather than directly from the dashboard (I mean in that the backend, which is in the cluster, can validate the data before actually creating the resource, or responding with a 4xx with a reason for the failure).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
It would be nice to complement this with the number of charts retrieved from that source.