Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Step 2 not displayed without warning when no values.yaml present #930

Open
Timoses opened this issue May 9, 2019 · 3 comments
Open

Step 2 not displayed without warning when no values.yaml present #930

Timoses opened this issue May 9, 2019 · 3 comments
Labels
type::bug Something isn't working

Comments

@Timoses
Copy link

Timoses commented May 9, 2019

Expected behavior

Step 2 displays new screen

Actual behavior

Clicking 'Get Started' does nothing. Clicking it again goes to step 3 which says one still has to complete the previous step.

Information

  • Ship version:
"version": "0.41.0",
"git": "14db0e3",

Steps to reproduce the behavior

  1. ship init https://github.com/rook/rook/tree/v1.0.0/cluster/charts/rook-ceph
  2. open browser: yes
  3. In browser: click 'Get Started' on the bottom right
    4 -> Step 2 is not displayed

Additional Info

Could this be because of the values.yaml.tmpl file in the rook directory?
I tested ship init https://github.com/helm/charts/tree/master/stable/grafana which does display the second step.

Edit: I did rename it to values.yaml locally and it seems to work.

Would still be great if it was possible to use the upstream repository with ship!

@dexhorthy
Copy link
Member

dexhorthy commented May 10, 2019

Thanks for opening this issue @Timoses and for giving Ship a spin. I was able to reproduce this, looks like the default Rook chart doesn't ship with a values.yaml as you identified.

We can check into ways to do a little bit better job of detecting this, although I'd guess we're open to ideas on how we could handle the rook case where there is a preprocessing step to get a proper values.yaml in place.

@Timoses since ship supports plain YAML, you may be able to work this by just pointing directly at a concateanted rook operator yaml file, like so

ship init https://github.com/replicatedhq/replicated-installer/blob/master/install_scripts/templates/kubernetes/yaml/rook-1-0-system.yml

Note -- this is untested, and you might have to do some more there. It looks like the rook team has broken up all the rook YAML for different environments here, so you can't just ship init the whole directory without then removing a lot of stuff.

@dexhorthy dexhorthy added the type::bug Something isn't working label May 10, 2019
@dexhorthy
Copy link
Member

I'm gonna call this a bug because we could message/detect this a little better. As stated, not sure if there's a catch-all for the "chart doesn't have a values.yaml file" case.

@Timoses
Copy link
Author

Timoses commented May 22, 2019

I'm gonna call this a bug because we could message/detect this a little better. As stated, not sure if there's a catch-all for the "chart doesn't have a values.yaml file" case.

I think that's a good idea. If a values.yaml file is a requirement in some scenarios then it should be thrown.

Slightly off-topic: Is it possible to ship init charts repositories? E.g. https://charts.rook.io/release . I tried it, but it shows the same behaviour.

@Timoses Timoses changed the title Step 2 not displayed for Rook helm chart repo Step 2 not displayed without warning when no values.yaml present Jun 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type::bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants