Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Expose neo4j-contrib/neo4j-helm as helm repository #16

Open
aitorhh opened this issue May 27, 2020 · 7 comments
Open

Expose neo4j-contrib/neo4j-helm as helm repository #16

aitorhh opened this issue May 27, 2020 · 7 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@aitorhh
Copy link

aitorhh commented May 27, 2020

I believe it would be good to add the deployment of the Charts to github pages or release page. Several options could be used:

Both, can be use in a CI/CD pipeline.

@moxious
Copy link
Contributor

moxious commented Jun 9, 2020

Thanks for this suggestion. I think it's a good one and I will take it on. Sorry for the tardy response - I'll get to this when I can.

@moxious
Copy link
Contributor

moxious commented Jun 26, 2020

Some updates on this; the tooling isn't integrated yet, but the repository index.yaml file was moved to the master branch, and Helm Hub is showing all recent releases ATM

@moxious
Copy link
Contributor

moxious commented Aug 7, 2020

Still needing to follow up on this. Additional report:

[user@localhost ~]$ helm repo add stable https://github.com/neo4j-contrib/neo4j-helm
Error: looks like "https://github.com/neo4j-contrib/neo4j-helm" is not a valid chart repository or cannot be reached: failed to fetch https://github.com/neo4j-contrib/neo4j-helm/index.yaml : 404 Not Found 
[user@localhost ~]$ curl -O https://github.com/neo4j-contrib/neo4j-helm/blob/master/index.yaml
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current 
                                 Dload  Upload   Total   Spent    Left  Speed 
100  107k    0  107k    0     0   206k      0 --:--:-- --:--:-- --:--:--  206k 
[user@localhost ~]$ helm repo add stable https://github.com/neo4j-contrib/blob/master/neo4j-helm
Error: looks like "https://github.com/neo4j-contrib/blob/master/neo4j-helm" is not a valid chart repository or cannot be reached: failed to fetch https://github.com/neo4j-contrib/blob/master/neo4j-helm/index.yaml: 404 Not Found 

@moxious moxious added the enhancement New feature or request label Aug 7, 2020
@moxious
Copy link
Contributor

moxious commented Aug 7, 2020

Current status here is I have an index.yaml file to act as a repo location, but chart-releaser is really not cooperating and I think suffering from some docs unclarities that make it hard to follow. Namely it seems to be expecting that my tag structure and the name of the releases always match, and they don't - and also that the tgz files are hosted in the repo themselves. Additionally, I'd like this repo to be self-hosted, and not have the "split" that chart releaser is assuming, where there's a "repository github repo" and a "chart repo".

So I'm looking into this to try to resolve it, but really struggling with silly bits of helm & cr to make this work. Help solicited.

@moxious moxious added the help wanted Extra attention is needed label Aug 7, 2020
@jennyowen
Copy link

jennyowen commented Sep 3, 2020

@moxious It's interesting to see how aws does this. For example, https://github.com/aws/eks-charts
releases everything in a big flat file structure on the gh-pages branch, so that the github.io page serves it in a way that helm repositories expect : https://github.com/aws/eks-charts/tree/gh-pages
It's quite a neat solution!

I'm not familiar with the cr tool, but would releasing like that mean we don't need it?
I'll try and prototype something.

@moxious
Copy link
Contributor

moxious commented Sep 3, 2020

@jennyowen I think in the end they're equivalent solutions really. The cr tool in the end is just trying to help automate what is the same thing: you place certain yaml files in certain places, make them web accessible, and then poof, you're a helm repo. That's basically it. I just burned a fair bit of time failing to figure out the cr tool. Any reasonably automatable solution which makes helm happy, and which can be maintained over time is ultimately fine.

@lukaszo
Copy link

lukaszo commented Dec 30, 2020

@moxious this command worked just fine:

helm repo add neo4j-helm https://neo4j-contrib.github.io/neo4j-helm/

Then I was able to install neo4j using helm install my-neo4j neo4j-helm/neo4j --version 4.2.0-1

I've found the correct command here: https://artifacthub.io/packages/helm/neo4j-helm/neo4j?modal=install

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants