Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Don't return error when repos have no chart #632

Open
FengyunPan2 opened this issue May 27, 2019 · 0 comments · May be fixed by #633
Open

Don't return error when repos have no chart #632

FengyunPan2 opened this issue May 27, 2019 · 0 comments · May be fixed by #633

Comments

@FengyunPan2
Copy link
Contributor

FengyunPan2 commented May 27, 2019

When I add a empty repos into kubeapps, then I get a error pod.

logs:
# kubectl logs apprepo-sync-chartmuseum-q97wv-jjsgh -n kube-system
time="2019-05-27T07:52:31Z" level=fatal msg="Can't add chart repository to database: no charts in repository index"
# kubectl get pod -n kube-system | grep apprepo-sync-chartmuseum
apprepo-sync-chartmuseum-q97wv-jjsgh 0/1 Error 1 51s

FengyunPan2 pushed a commit to FengyunPan2/monocular that referenced this issue May 27, 2019
Fix helm#632
I build a chartmuseum service which has no charts, then add the
chartmuseum repo into kubeapps. But I get a 'error' pod, that is
unfriendly. I think it is better to add log for it.
@FengyunPan2 FengyunPan2 linked a pull request May 27, 2019 that will close this issue
FengyunPan2 pushed a commit to FengyunPan2/monocular that referenced this issue May 27, 2019
Fix helm#632
I build a chartmuseum service which has no charts, then add the
chartmuseum repo into kubeapps. But I get a 'error' pod, that is
unfriendly. I think it is better to add log for it.
FengyunPan2 added a commit to FengyunPan2/monocular that referenced this issue May 27, 2019
Fix helm#632
I build a chartmuseum service which has no charts, then add the
chartmuseum repo into kubeapps. But I get a 'error' pod, that is
unfriendly. I think it is better to add log for it.

Signed-off-by: FengyunPan2 <pan_feng_yun@163.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant