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

Helm chart location throwing a 404 #242

Open
tashimi opened this issue Apr 13, 2018 · 5 comments
Open

Helm chart location throwing a 404 #242

tashimi opened this issue Apr 13, 2018 · 5 comments

Comments

@tashimi
Copy link

tashimi commented Apr 13, 2018

Hey,

This link isn't working: https://habitat-sh.github.io/habitat-operator/helm/charts/stable/

It's documented in blogs & docs as the way to get the helm chart (https://github.com/habitat-sh/habitat-operator/tree/master/helm/habitat-operator)

@krnowak
Copy link
Contributor

krnowak commented Apr 16, 2018

That's curious, because https://habitat-sh.github.io/habitat-operator/helm/charts/stable/habitat-operator-0.5.1.tgz (or https://habitat-sh.github.io/habitat-operator/helm/charts/stable/index.yaml, which is what helm downloads in the first place) seems to work…

So, googling a bit tells me that GitHub Pages has no directory listing feature, so a link like https://habitat-sh.github.io/habitat-operator/helm/charts/stable/ (which points to a directory, not a file) will not work. People using GitHab Pages that want to have the directory listing usually have some scripts that generate the index.html listing (usually with some kind of <ul><li>..</li><li>dir/</li><li>file</li></ul> goo). An example is here: https://stackoverflow.com/questions/39048654/how-to-enable-directory-indexing-on-github-pages.

@asymmetric
Copy link
Contributor

So, IIUC, the fact that the URL returns 404 when accessed directly does not break anything, because helm actually fetches the index.yaml file.

If so, I guess we can close this?

@asymmetric
Copy link
Contributor

Or rather:

  • Is the user expectation that they should be able to navigate the charts by following that link?
  • If so, would we be better served by hosting the charts elesewhere, e.g. S3?
  • If not, maybe go with the script in that SO answer

@tashimi
Copy link
Author

tashimi commented Apr 18, 2018

The expectation is just that the steps in the docs/blog work to get things up and running, and a user was reporting hitting a 404 earlier this week

@iaguis
Copy link
Contributor

iaguis commented Apr 19, 2018

The expectation is just that the steps in the docs/blog work to get things up and running, and a user was reporting hitting a 404 earlier this week

As far as I understand, running the instructions in the docs works. That is, running the following commands:

$ helm repo add habitat https://habitat-sh.github.io/habitat-operator/helm/charts/stable/
$ helm install --name my-release habitat/habitat-operator

Helm doesn't require https://habitat-sh.github.io/habitat-operator/helm/charts/stable/
to work. Maybe the user just clicked the link and reported the 404 thinking it was a problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants